Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001322/0.001322, allocations: 114.3 kB / 16.42 MB, free: 6.492 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.001372/0.001372, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.3/1.3, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.122/2.122, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.7009, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.0366/0.7375, allocations: 37.11 MB / 1.125 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.9096, allocations: 160.4 MB / 1.282 GB, free: 8.078 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.9135, allocations: 59.69 kB / 1.282 GB, free: 8.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.9163, allocations: 0.7112 MB / 1.282 GB, free: 7.305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007108/0.9234, allocations: 1.954 MB / 1.284 GB, free: 5.344 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006849/0.9303, allocations: 2.221 MB / 1.286 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01793/0.9482, allocations: 13.01 MB / 1.299 GB, free: 6.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009349/0.9576, allocations: 6.635 MB / 1.306 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008915/0.9665, allocations: 4.607 MB / 1.31 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006061/0.9726, allocations: 3.941 MB / 1.314 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002103/0.9747, allocations: 0.6758 MB / 1.315 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005523/0.9802, allocations: 1.978 MB / 1.316 GB, free: 4.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002606/0.9829, allocations: 1.628 MB / 1.318 GB, free: 2.527 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005676/0.9886, allocations: 3.232 MB / 1.321 GB, free: 15.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01239/1.001, allocations: 9.465 MB / 1.33 GB, free: 5.789 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.001, allocations: 0 / 1.33 GB, free: 5.789 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.382e-06/1.001, allocations: 0 / 1.33 GB, free: 5.789 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002764/1.001, allocations: 0 / 1.33 GB, free: 5.789 MB / 1.061 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.01598/1.017, allocations: 6.316 MB / 1.337 GB, free: 15.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.017, allocations: 8.031 kB / 1.337 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00926/1.027, allocations: 1.43 MB / 1.338 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/1.037, allocations: 4.953 MB / 1.343 GB, free: 8.922 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/1.037, allocations: 312.2 kB / 1.343 GB, free: 8.613 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009604/1.038, allocations: 415.9 kB / 1.344 GB, free: 8.207 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/1.05, allocations: 5.981 MB / 1.349 GB, free: 2.023 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.906e-05/1.05, allocations: 7.938 kB / 1.349 GB, free: 2.016 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004612/1.05, allocations: 180 kB / 1.35 GB, free: 1.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/1.051, allocations: 191.9 kB / 1.35 GB, free: 1.648 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/1.063, allocations: 5.706 MB / 1.355 GB, free: 11.92 MB / 1.092 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.03077/1.093, allocations: 20.73 MB / 1.376 GB, free: 6.445 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007786/1.101, allocations: 3.733 MB / 1.379 GB, free: 2.711 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004037/1.105, allocations: 1.986 MB / 1.381 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/1.108, allocations: 1.9 MB / 1.383 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00486/1.113, allocations: 2.244 MB / 1.385 GB, free: 12.14 MB / 1.123 GB Notification: Performance of pre-optimization done (n=282): time 5.17e-06/1.113, allocations: 0 / 1.385 GB, free: 12.14 MB / 1.123 GB Notification: Performance of matching and sorting (n=282): time 0.0142/1.127, allocations: 5.426 MB / 1.391 GB, free: 6.641 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.127, allocations: 239.8 kB / 1.391 GB, free: 6.355 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006671/1.134, allocations: 3.92 MB / 1.395 GB, free: 2.41 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000429/1.134, allocations: 85.7 kB / 1.395 GB, free: 2.32 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.002081/1.136, allocations: 2.093 MB / 1.397 GB, free: 212 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/1.137, allocations: 0.9551 MB / 1.398 GB, free: 15.24 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/1.138, allocations: 0.6432 MB / 1.398 GB, free: 14.59 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/1.139, allocations: 305.1 kB / 1.399 GB, free: 14.29 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004007/1.143, allocations: 1.687 MB / 1.4 GB, free: 12.59 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004542/1.147, allocations: 2.363 MB / 1.403 GB, free: 9.973 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00851/1.156, allocations: 4.094 MB / 1.407 GB, free: 5.609 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/1.156, allocations: 4 kB / 1.407 GB, free: 5.605 MB / 1.139 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.01117/1.167, allocations: 4.673 MB / 1.411 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.167, allocations: 12 kB / 1.411 GB, free: 0.875 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/1.167, allocations: 16 kB / 1.411 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/1.168, allocations: 109.5 kB / 1.411 GB, free: 0.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/1.172, allocations: 0.8112 MB / 1.412 GB, free: 15.94 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/1.174, allocations: 1.677 MB / 1.414 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004587/1.178, allocations: 490.2 kB / 1.414 GB, free: 13.63 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003724/1.179, allocations: 160.1 kB / 1.414 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006175/1.185, allocations: 3.008 MB / 1.417 GB, free: 10.46 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004971/1.19, allocations: 2.362 MB / 1.42 GB, free: 7.848 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008796/1.199, allocations: 4.094 MB / 1.424 GB, free: 3.484 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.507e-05/1.199, allocations: 4 kB / 1.424 GB, free: 3.48 MB / 1.154 GB Notification: Performance of matching and sorting (n=403) (initialization_lambda0): time 0.01131/1.21, allocations: 4.669 MB / 1.428 GB, free: 14.77 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.21, allocations: 12 kB / 1.428 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/1.21, allocations: 16 kB / 1.428 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/1.211, allocations: 117.3 kB / 1.428 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00388/1.215, allocations: 0.8073 MB / 1.429 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/1.217, allocations: 1.672 MB / 1.431 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/1.221, allocations: 409.5 kB / 1.431 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004142/1.222, allocations: 155.9 kB / 1.431 GB, free: 11.44 MB / 1.17 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.000948/1.223, allocations: 390.2 kB / 1.432 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.224, allocations: 407 kB / 1.432 GB, free: 10.65 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/1.236, allocations: 4.724 MB / 1.437 GB, free: 5.863 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008714/1.244, allocations: 3.718 MB / 1.44 GB, free: 2.059 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/1.244, allocations: 4 kB / 1.44 GB, free: 2.055 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/1.247, allocations: 1.038 MB / 1.441 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/1.248, allocations: 71.83 kB / 1.441 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003806/1.252, allocations: 265.6 kB / 1.442 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004042/1.252, allocations: 194.1 kB / 1.442 GB, free: 484 kB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01154/1.264, allocations: 4.3 MB / 1.446 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01405/1.278, allocations: 6.67 MB / 1.452 GB, free: 5.379 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00385/1.282, allocations: 1.932 MB / 1.454 GB, free: 3.434 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.004875/1.287, allocations: 2.762 MB / 1.457 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of Backend: time 7.21e-07/1.287, allocations: 0 / 1.457 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0156/1.302, allocations: 6.033 MB / 1.463 GB, free: 10.84 MB / 1.201 GB Notification: Performance of SimCode: time 0.02047/1.323, allocations: 10.66 MB / 1.473 GB, free: 200 kB / 1.201 GB Notification: Performance of Templates: time 0.1666/1.489, allocations: 110.2 MB / 1.581 GB, free: 2.633 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches