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.00169/0.00169, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001731/0.001731, allocations: 196.8 kB / 16.14 MB, free: 6.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.581/1.581, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.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.87/2.87, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003214/0.003213, allocations: 64.03 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7493/0.7526, allocations: 151.6 MB / 1.017 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003582/0.7562, allocations: 2.193 MB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.005147/0.7614, allocations: 3.781 MB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.7615, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.7619, allocations: 47.67 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.7623, allocations: 107.3 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.7627, allocations: 139.7 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.7631, allocations: 298.7 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.7632, allocations: 60.69 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.7635, allocations: 115.5 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.7637, allocations: 135.4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.7637, allocations: 12 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.764, allocations: 131.8 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.7641, allocations: 55.75 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.7642, allocations: 107.3 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.7647, allocations: 318.9 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7647, allocations: 4 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7647, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.7647, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 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.001493/0.7662, allocations: 0.6308 MB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.7663, allocations: 12.03 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/0.7673, allocations: 164.5 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.7681, allocations: 328.2 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.7682, allocations: 4.562 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.7682, allocations: 11.94 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007755/0.769, allocations: 225.5 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.769, allocations: 0 / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.769, allocations: 4 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.7691, allocations: 4 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.7701, allocations: 291.6 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.772, allocations: 0.5745 MB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.7726, allocations: 174.4 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.7731, allocations: 156.7 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.7741, allocations: 0.5454 MB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.7741, allocations: 34.56 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 2.876e-06/0.7742, allocations: 0 / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.001801/0.776, allocations: 489.2 kB / 1.027 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.776, allocations: 55.41 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.7764, allocations: 264.6 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.7764, allocations: 25.7 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.7766, allocations: 155.9 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.7766, allocations: 43.44 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.7767, allocations: 41.69 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.7769, allocations: 338.8 kB / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005119/0.7775, allocations: 151.8 kB / 1.028 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.7779, allocations: 143.9 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000987/0.7789, allocations: 290.5 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.779, allocations: 8 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001166/0.7801, allocations: 367.3 kB / 1.029 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.7802, allocations: 8 kB / 1.029 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7802, allocations: 0 / 1.029 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.7802, allocations: 7.984 kB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.7807, allocations: 59.92 kB / 1.029 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.7807, allocations: 4 kB / 1.029 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.781, allocations: 51.73 kB / 1.029 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.7811, allocations: 7.984 kB / 1.029 GB, free: 5.438 MB / 0.7794 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.0001698/0.7812, allocations: 129.8 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.7813, allocations: 27.7 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.7826, allocations: 379.3 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.7826, allocations: 0 / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.7826, allocations: 3.938 kB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7826, allocations: 3.938 kB / 1.03 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.783, allocations: 305.3 kB / 1.03 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.783, allocations: 7.969 kB / 1.03 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.7834, allocations: 63.86 kB / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7835, allocations: 4 kB / 1.03 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.7835, allocations: 4 kB / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.7835, allocations: 4 kB / 1.03 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7835, allocations: 3.984 kB / 1.03 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.7847, allocations: 444.1 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.7849, allocations: 116.7 kB / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.785, allocations: 11.98 kB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.7853, allocations: 31.95 kB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.7854, allocations: 19.97 kB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.7854, allocations: 11.88 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002056/0.7856, allocations: 183.1 kB / 1.031 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7856, allocations: 0 / 1.031 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003841/0.786, allocations: 71.98 kB / 1.031 GB, free: 3.551 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0003058/0.7864, allocations: 131.6 kB / 1.031 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.7876, allocations: 323.7 kB / 1.032 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7876, allocations: 3.938 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.7881, allocations: 165.9 kB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.7887, allocations: 28.64 kB / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.7899, allocations: 0.5541 MB / 1.032 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.7905, allocations: 0.7477 MB / 1.033 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002721/0.7907, allocations: 57.36 kB / 1.033 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.7908, allocations: 19.42 kB / 1.033 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.7909, allocations: 0 / 1.033 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of Templates: time 0.007918/0.7988, allocations: 2.941 MB / 1.036 GB, free: 14.56 MB / 0.795 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=400 -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/jenkins/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