Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|shaCoe.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|shaCoe.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.001811/0.001811, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.15 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.437/2.437, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 55.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7246, allocations: 151.7 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.03989/0.7645, allocations: 38.59 MB / 1.205 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1632/0.9278, allocations: 160.6 MB / 1.362 GB, free: 11.8 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.9306, allocations: 59.62 kB / 1.362 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.9332, allocations: 0.7499 MB / 1.363 GB, free: 10.99 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006214/0.9394, allocations: 2.069 MB / 1.365 GB, free: 8.918 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005705/0.9451, allocations: 2.248 MB / 1.367 GB, free: 6.684 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01448/0.9596, allocations: 13.27 MB / 1.38 GB, free: 9.383 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009023/0.9687, allocations: 6.624 MB / 1.386 GB, free: 2.66 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008655/0.9774, allocations: 4.643 MB / 1.391 GB, free: 14.03 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006121/0.9835, allocations: 3.98 MB / 1.395 GB, free: 10.04 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001995/0.9855, allocations: 0.6796 MB / 1.395 GB, free: 9.355 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005685/0.9912, allocations: 1.986 MB / 1.397 GB, free: 7.367 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003413/0.9946, allocations: 1.62 MB / 1.399 GB, free: 5.742 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.006673/1.001, allocations: 3.283 MB / 1.402 GB, free: 2.445 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/1.013, allocations: 9.539 MB / 1.411 GB, free: 8.879 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.013, allocations: 0 / 1.411 GB, free: 8.879 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.904e-06/1.013, allocations: 0 / 1.411 GB, free: 8.879 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002911/1.014, allocations: 0 / 1.411 GB, free: 8.879 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1070 * Number of variables: 1070 Notification: Performance of Generate backend data structure: time 0.0161/1.03, allocations: 6.362 MB / 1.418 GB, free: 2.434 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.03, allocations: 8.922 kB / 1.418 GB, free: 2.426 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009306/1.039, allocations: 1.426 MB / 1.419 GB, free: 0.9922 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/1.05, allocations: 4.949 MB / 1.424 GB, free: 11.97 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/1.05, allocations: 312.2 kB / 1.424 GB, free: 11.66 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/1.052, allocations: 415.9 kB / 1.425 GB, free: 11.26 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/1.066, allocations: 5.977 MB / 1.43 GB, free: 5.074 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002/1.066, allocations: 11.94 kB / 1.43 GB, free: 5.062 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/1.068, allocations: 168 kB / 1.431 GB, free: 4.898 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002291/1.068, allocations: 195.9 kB / 1.431 GB, free: 4.703 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/1.083, allocations: 5.706 MB / 1.436 GB, free: 14.98 MB / 1.17 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.03743/1.12, allocations: 21.16 MB / 1.457 GB, free: 8.973 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008336/1.129, allocations: 3.717 MB / 1.461 GB, free: 5.25 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/1.133, allocations: 1.982 MB / 1.463 GB, free: 3.262 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00236/1.135, allocations: 1.908 MB / 1.464 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005196/1.14, allocations: 2.232 MB / 1.467 GB, free: 14.68 MB / 1.201 GB Notification: Performance of pre-optimization done (n=282): time 5.851e-06/1.14, allocations: 0 / 1.467 GB, free: 14.68 MB / 1.201 GB Notification: Performance of matching and sorting (n=282): time 0.01453/1.155, allocations: 5.426 MB / 1.472 GB, free: 9.184 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.155, allocations: 243.8 kB / 1.472 GB, free: 8.895 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007364/1.163, allocations: 3.92 MB / 1.476 GB, free: 4.949 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005491/1.163, allocations: 81.7 kB / 1.476 GB, free: 4.863 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002271/1.165, allocations: 2.101 MB / 1.478 GB, free: 2.742 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001251/1.167, allocations: 0.9512 MB / 1.479 GB, free: 1.777 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001572/1.168, allocations: 0.6394 MB / 1.48 GB, free: 1.129 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/1.168, allocations: 301.1 kB / 1.48 GB, free: 0.832 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/1.172, allocations: 1.691 MB / 1.482 GB, free: 15.13 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004584/1.177, allocations: 2.359 MB / 1.484 GB, free: 12.52 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008713/1.186, allocations: 4.094 MB / 1.488 GB, free: 8.156 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.548e-05/1.186, allocations: 4 kB / 1.488 GB, free: 8.152 MB / 1.217 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.01206/1.198, allocations: 4.672 MB / 1.492 GB, free: 3.434 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/1.198, allocations: 12.97 kB / 1.492 GB, free: 3.422 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/1.198, allocations: 16 kB / 1.492 GB, free: 3.406 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006563/1.199, allocations: 112.7 kB / 1.493 GB, free: 3.293 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004/1.203, allocations: 0.8034 MB / 1.493 GB, free: 2.488 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/1.205, allocations: 1.69 MB / 1.495 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/1.21, allocations: 492.1 kB / 1.495 GB, free: 172 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006321/1.21, allocations: 151.9 kB / 1.496 GB, free: 20 kB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006886/1.217, allocations: 3.02 MB / 1.499 GB, free: 12.99 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004858/1.222, allocations: 2.347 MB / 1.501 GB, free: 10.39 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008806/1.231, allocations: 4.09 MB / 1.505 GB, free: 6.035 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.031e-05/1.231, allocations: 4 kB / 1.505 GB, free: 6.031 MB / 1.232 GB Notification: Performance of matching and sorting (n=403) (initialization_lambda0): time 0.01182/1.243, allocations: 4.661 MB / 1.509 GB, free: 1.324 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.243, allocations: 12 kB / 1.509 GB, free: 1.312 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/1.243, allocations: 16 kB / 1.509 GB, free: 1.297 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/1.243, allocations: 113.5 kB / 1.51 GB, free: 1.184 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/1.247, allocations: 0.8034 MB / 1.51 GB, free: 388 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/1.249, allocations: 1.691 MB / 1.512 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/1.254, allocations: 417.4 kB / 1.512 GB, free: 14.14 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004371/1.254, allocations: 155.8 kB / 1.513 GB, free: 13.98 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 400 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009937/1.255, allocations: 388.1 kB / 1.513 GB, free: 13.6 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/1.257, allocations: 407 kB / 1.513 GB, free: 13.2 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.268, allocations: 4.72 MB / 1.518 GB, free: 8.414 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00829/1.277, allocations: 3.714 MB / 1.522 GB, free: 4.613 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.277, allocations: 0 / 1.522 GB, free: 4.613 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002539/1.279, allocations: 1.042 MB / 1.523 GB, free: 3.547 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.28, allocations: 71.83 kB / 1.523 GB, free: 3.477 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00405/1.284, allocations: 255.6 kB / 1.523 GB, free: 3.227 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004282/1.285, allocations: 190.1 kB / 1.523 GB, free: 3.039 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01174/1.297, allocations: 4.316 MB / 1.527 GB, free: 14.67 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01397/1.311, allocations: 6.67 MB / 1.534 GB, free: 7.926 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00387/1.314, allocations: 1.92 MB / 1.536 GB, free: 5.992 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0054/1.32, allocations: 2.77 MB / 1.538 GB, free: 3.211 MB / 1.264 GB Notification: Performance of Backend: time 4.71e-07/1.32, allocations: 4 kB / 1.538 GB, free: 3.207 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.336, allocations: 6.023 MB / 1.544 GB, free: 13.35 MB / 1.279 GB Notification: Performance of SimCode: time 0.02261/1.359, allocations: 10.68 MB / 1.555 GB, free: 2.668 MB / 1.279 GB Notification: Performance of Templates: time 0.7492/2.108, allocations: 111.1 MB / 1.663 GB, free: 282.9 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches