Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007228/0.007228, allocations: 101.7 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 194.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.622/2.622, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8547, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005252/0.8599, allocations: 4.373 MB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005524/0.8655, allocations: 2.946 MB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007813/0.8663, allocations: 19.88 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.8676, allocations: 373.7 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.8694, allocations: 0.6416 MB / 1.229 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.8717, allocations: 0.6338 MB / 1.229 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002713/0.8744, allocations: 1.886 MB / 1.231 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.8747, allocations: 121.9 kB / 1.231 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.8758, allocations: 0.6074 MB / 1.232 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008775/0.8766, allocations: 0.6576 MB / 1.233 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.8768, allocations: 76 kB / 1.233 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008/0.8776, allocations: 415.4 kB / 1.233 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004656/0.878, allocations: 466.6 kB / 1.233 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005579/0.8786, allocations: 0.6023 MB / 1.234 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.8802, allocations: 1.478 MB / 1.235 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8802, allocations: 11.94 kB / 1.235 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8802, allocations: 0 / 1.235 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.8802, allocations: 0 / 1.235 GB, free: 2.766 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002817/0.883, allocations: 1.654 MB / 1.237 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.883, allocations: 8.031 kB / 1.237 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.8832, allocations: 140 kB / 1.237 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.8845, allocations: 0.8591 MB / 1.238 GB, free: 4 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.8846, allocations: 45.42 kB / 1.238 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.8847, allocations: 60.38 kB / 1.238 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.8856, allocations: 0.61 MB / 1.239 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.8856, allocations: 3.938 kB / 1.239 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.8856, allocations: 16 kB / 1.239 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.8856, allocations: 12 kB / 1.239 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.8864, allocations: 0.5621 MB / 1.239 GB, free: 14.68 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004245/0.8906, allocations: 3.279 MB / 1.243 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.892, allocations: 0.8171 MB / 1.243 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.8924, allocations: 337.4 kB / 1.244 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.216e-05/0.8925, allocations: 28.3 kB / 1.244 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.8925, allocations: 42.86 kB / 1.244 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 1.944e-06/0.8925, allocations: 0 / 1.244 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.001753/0.8943, allocations: 1.18 MB / 1.245 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.8943, allocations: 55.41 kB / 1.245 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.8958, allocations: 1.231 MB / 1.246 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.8958, allocations: 41.7 kB / 1.246 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.8962, allocations: 469.3 kB / 1.247 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.8964, allocations: 194.4 kB / 1.247 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.8966, allocations: 210.6 kB / 1.247 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8968, allocations: 349.9 kB / 1.247 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007758/0.8975, allocations: 0.6426 MB / 1.248 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000967/0.8985, allocations: 0.9708 MB / 1.249 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.9004, allocations: 1.59 MB / 1.25 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.9004, allocations: 0 / 1.25 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0024/0.9028, allocations: 1.792 MB / 1.252 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.9028, allocations: 10.03 kB / 1.252 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.9028, allocations: 16 kB / 1.252 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.903, allocations: 40.84 kB / 1.252 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.9042, allocations: 271.6 kB / 1.253 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.908, allocations: 6.844 MB / 1.259 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.9091, allocations: 134.9 kB / 1.259 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.9092, allocations: 40 kB / 1.259 GB, free: 9.176 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004328/0.9096, allocations: 298 kB / 1.26 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.9098, allocations: 123.1 kB / 1.26 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.9109, allocations: 0.8492 MB / 1.261 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.9109, allocations: 8 kB / 1.261 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.911, allocations: 0 / 1.261 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.911, allocations: 3.984 kB / 1.261 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009826/0.9119, allocations: 0.9074 MB / 1.262 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.9119, allocations: 4 kB / 1.262 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.9125, allocations: 107.9 kB / 1.262 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.9126, allocations: 36.83 kB / 1.262 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.9126, allocations: 15.98 kB / 1.262 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.9136, allocations: 1.438 MB / 1.263 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9136, allocations: 3.984 kB / 1.263 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.9152, allocations: 1.378 MB / 1.264 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.9156, allocations: 268.1 kB / 1.265 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.9157, allocations: 15.94 kB / 1.265 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.9162, allocations: 27.95 kB / 1.265 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.9163, allocations: 27.97 kB / 1.265 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.9163, allocations: 15.98 kB / 1.265 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001088/0.9174, allocations: 0.8194 MB / 1.266 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9174, allocations: 0 / 1.266 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001023/0.9184, allocations: 371.6 kB / 1.266 GB, free: 2.223 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005139/0.9189, allocations: 266.9 kB / 1.266 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002352/0.9213, allocations: 1.398 MB / 1.268 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9213, allocations: 0 / 1.268 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.9218, allocations: 462.3 kB / 1.268 GB, free: 68 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.9229, allocations: 229.6 kB / 1.268 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.9266, allocations: 2.552 MB / 1.271 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/0.9274, allocations: 1.098 MB / 1.272 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005117/0.9279, allocations: 199.1 kB / 1.272 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.9281, allocations: 71.44 kB / 1.272 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/0.9281, allocations: 0 / 1.272 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of Templates: time 0.02652/0.9546, allocations: 14.84 MB / 1.287 GB, free: 13.2 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches