Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001134/0.001135, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001155/0.001155, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6735/0.6748, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005306/0.6801, allocations: 4.356 MB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004759/0.6849, allocations: 2.942 MB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006829/0.6856, allocations: 23.88 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.6867, allocations: 362.7 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.6888, allocations: 0.647 MB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.6906, allocations: 0.6439 MB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.6929, allocations: 1.878 MB / 1.178 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/0.6932, allocations: 185.7 kB / 1.178 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009989/0.6942, allocations: 0.6035 MB / 1.179 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.6953, allocations: 0.6538 MB / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.6956, allocations: 76 kB / 1.179 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007823/0.6964, allocations: 419.4 kB / 1.18 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005506/0.6969, allocations: 466.6 kB / 1.18 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008193/0.6978, allocations: 0.6023 MB / 1.181 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.6995, allocations: 1.478 MB / 1.182 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6995, allocations: 0 / 1.182 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6995, allocations: 0 / 1.182 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.274e-05/0.6996, allocations: 0 / 1.182 GB, free: 4.477 MB / 0.9044 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.003434/0.703, allocations: 1.658 MB / 1.184 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.7031, allocations: 12.88 kB / 1.184 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.7034, allocations: 144 kB / 1.184 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.7049, allocations: 0.8514 MB / 1.185 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.7049, allocations: 41.38 kB / 1.185 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.866e-05/0.705, allocations: 64.38 kB / 1.185 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.7059, allocations: 0.6178 MB / 1.186 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.7059, allocations: 0 / 1.186 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.706, allocations: 16 kB / 1.186 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.706, allocations: 8 kB / 1.186 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/0.7068, allocations: 0.5621 MB / 1.186 GB, free: 388 kB / 0.9044 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.004492/0.7113, allocations: 3.279 MB / 1.189 GB, free: 12.86 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.7127, allocations: 0.8555 MB / 1.19 GB, free: 11.99 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.7131, allocations: 361.4 kB / 1.19 GB, free: 11.63 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.097e-05/0.7132, allocations: 24.3 kB / 1.19 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.7132, allocations: 38.94 kB / 1.191 GB, free: 11.56 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 2.345e-06/0.7132, allocations: 4 kB / 1.191 GB, free: 11.56 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.001727/0.715, allocations: 1.187 MB / 1.192 GB, free: 10.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.715, allocations: 55.41 kB / 1.192 GB, free: 10.28 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.7167, allocations: 1.235 MB / 1.193 GB, free: 9.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.7167, allocations: 41.7 kB / 1.193 GB, free: 8.984 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.7171, allocations: 469.3 kB / 1.193 GB, free: 8.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.7173, allocations: 182.4 kB / 1.194 GB, free: 8.34 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.7175, allocations: 214.6 kB / 1.194 GB, free: 8.125 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7177, allocations: 345.9 kB / 1.194 GB, free: 7.781 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007777/0.7184, allocations: 0.6426 MB / 1.195 GB, free: 7.141 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/0.7194, allocations: 0.9708 MB / 1.196 GB, free: 6.02 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.7211, allocations: 1.586 MB / 1.197 GB, free: 4.293 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.7211, allocations: 7.938 kB / 1.197 GB, free: 4.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002316/0.7234, allocations: 1.784 MB / 1.199 GB, free: 2.492 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.7235, allocations: 8 kB / 1.199 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/0.7235, allocations: 19.92 kB / 1.199 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.7237, allocations: 48.78 kB / 1.199 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.7249, allocations: 268 kB / 1.199 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003788/0.7287, allocations: 6.836 MB / 1.206 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009615/0.7297, allocations: 135 kB / 1.206 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.7298, allocations: 40 kB / 1.206 GB, free: 10.82 MB / 0.9356 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.0003989/0.7302, allocations: 301.6 kB / 1.206 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.7304, allocations: 119.2 kB / 1.207 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.7316, allocations: 0.8427 MB / 1.207 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.7316, allocations: 3.984 kB / 1.207 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-06/0.7316, allocations: 0 / 1.207 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.732, allocations: 264.1 kB / 1.208 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.7322, allocations: 19.98 kB / 1.208 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006053/0.7328, allocations: 27.97 kB / 1.208 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.7329, allocations: 27.91 kB / 1.208 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00193/0.7348, allocations: 0.9967 MB / 1.209 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001703/0.7365, allocations: 1.497 MB / 1.21 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004304/0.737, allocations: 375.7 kB / 1.211 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001161/0.7382, allocations: 0.8154 MB / 1.211 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of Backend: time 4.6e-07/0.7382, allocations: 0 / 1.211 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002925/0.7411, allocations: 1.447 MB / 1.213 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of SimCode: time 0.00386/0.745, allocations: 2.997 MB / 1.216 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of Templates: time 0.02583/0.7708, allocations: 15.24 MB / 1.231 GB, free: 1.852 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches