Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 111.5 kB / 16.42 MB, free: 6.496 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.001565/0.001565, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.353/1.353, 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 10.1.1-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8279, allocations: 151.6 MB / 1.167 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003459/0.8314, allocations: 2.155 MB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004623/0.836, allocations: 3.79 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.8362, allocations: 4 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.8365, allocations: 52.55 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.8369, allocations: 135 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.8374, allocations: 155.6 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.8378, allocations: 306.9 kB / 1.174 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.838, allocations: 68.55 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.8383, allocations: 127.5 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.8385, allocations: 151.4 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.8386, allocations: 20 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.8389, allocations: 139.8 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.839, allocations: 55.81 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.8391, allocations: 123.2 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.8395, allocations: 334.6 kB / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8396, allocations: 0 / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8396, allocations: 4 kB / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.8396, allocations: 0 / 1.175 GB, free: 12.4 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00124/0.8408, allocations: 0.6382 MB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.8409, allocations: 8.922 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009312/0.8418, allocations: 180.5 kB / 1.176 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007366/0.8426, allocations: 316.5 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.8426, allocations: 16.56 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.8426, allocations: 11.94 kB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006547/0.8433, allocations: 226.8 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8433, allocations: 4 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.8433, allocations: 4 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.8434, allocations: 3.984 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.8443, allocations: 283.7 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.8456, allocations: 0.5746 MB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.8462, allocations: 170.4 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.8467, allocations: 160.7 kB / 1.177 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008352/0.8475, allocations: 0.5415 MB / 1.178 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.8476, allocations: 34.56 kB / 1.178 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 4.779e-06/0.8476, allocations: 4 kB / 1.178 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.001603/0.8492, allocations: 482.2 kB / 1.178 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.8492, allocations: 55.41 kB / 1.178 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.8495, allocations: 272.5 kB / 1.179 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.8495, allocations: 29.7 kB / 1.179 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.8496, allocations: 152 kB / 1.179 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.8497, allocations: 47.58 kB / 1.179 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/0.8497, allocations: 37.69 kB / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8499, allocations: 342.8 kB / 1.179 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.8504, allocations: 151.8 kB / 1.179 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.8509, allocations: 151.9 kB / 1.179 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009113/0.8518, allocations: 291.2 kB / 1.18 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8518, allocations: 0 / 1.18 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001061/0.8529, allocations: 373.1 kB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.8529, allocations: 4 kB / 1.18 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8529, allocations: 0 / 1.18 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.8529, allocations: 4 kB / 1.18 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.8533, allocations: 67.92 kB / 1.18 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.8534, allocations: 3.938 kB / 1.18 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.8537, allocations: 47.89 kB / 1.18 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.8537, allocations: 15.94 kB / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.8538, allocations: 125.8 kB / 1.18 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.8539, allocations: 23.86 kB / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.8551, allocations: 376.8 kB / 1.181 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.8551, allocations: 7.938 kB / 1.181 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.8551, allocations: 3.984 kB / 1.181 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8552, allocations: 128.8 kB / 1.181 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.8552, allocations: 3.938 kB / 1.181 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.8556, allocations: 39.94 kB / 1.181 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.8557, allocations: 15.98 kB / 1.181 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001327/0.857, allocations: 436.6 kB / 1.181 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001098/0.8581, allocations: 0.5111 MB / 1.182 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005036/0.8586, allocations: 159.8 kB / 1.182 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001528/0.8588, allocations: 187.1 kB / 1.182 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of Backend: time 6.01e-07/0.8588, allocations: 0 / 1.182 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.8598, allocations: 296.6 kB / 1.182 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009109/0.8607, allocations: 0.876 MB / 1.183 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of Templates: time 0.008097/0.8688, allocations: 4.539 MB / 1.188 GB, free: 14.68 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches