Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001219/0.001219, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001441/0.00144, allocations: 195 kB / 16.25 MB, free: 6.637 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.461/2.461, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 67.89 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8193, allocations: 140.3 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003063/0.8224, allocations: 2.193 MB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003695/0.8261, allocations: 3.747 MB / 0.9549 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.8262, allocations: 1.031 kB / 0.9549 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.8266, allocations: 53.27 kB / 0.955 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.8269, allocations: 111.5 kB / 0.9551 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.8272, allocations: 137.8 kB / 0.9552 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.8276, allocations: 316.1 kB / 0.9555 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.8277, allocations: 53.94 kB / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.8279, allocations: 130.7 kB / 0.9557 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.8281, allocations: 153.9 kB / 0.9558 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.8281, allocations: 20.31 kB / 0.9558 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.8284, allocations: 133.8 kB / 0.956 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.8284, allocations: 56.31 kB / 0.956 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.978e-05/0.8285, allocations: 125.8 kB / 0.9561 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.8289, allocations: 327.5 kB / 0.9564 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.8289, allocations: 3.938 kB / 0.9565 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8289, allocations: 1.281 kB / 0.9565 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.8289, allocations: 3.938 kB / 0.9565 GB, free: 3.371 MB / 0.7169 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.001118/0.83, allocations: 0.6251 MB / 0.9571 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.8301, allocations: 13.08 kB / 0.9571 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009047/0.831, allocations: 177.6 kB / 0.9572 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006328/0.8316, allocations: 316.6 kB / 0.9576 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.8317, allocations: 8 kB / 0.9576 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.8317, allocations: 14.19 kB / 0.9576 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.8323, allocations: 227.9 kB / 0.9578 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.8323, allocations: 0 / 0.9578 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.8324, allocations: 5.25 kB / 0.9578 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.8324, allocations: 1.188 kB / 0.9578 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008977/0.8333, allocations: 285.7 kB / 0.9581 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.8345, allocations: 0.5746 MB / 0.9586 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.835, allocations: 170 kB / 0.9588 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.8355, allocations: 157.3 kB / 0.9589 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007203/0.8362, allocations: 0.5447 MB / 0.9595 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.8362, allocations: 40 kB / 0.9595 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.8363, allocations: 0 / 0.9595 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001569/0.8378, allocations: 483.6 kB / 0.96 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.8379, allocations: 57.59 kB / 0.96 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.8381, allocations: 263.5 kB / 0.9603 GB, free: 348 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.8381, allocations: 26.83 kB / 0.9603 GB, free: 316 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.8382, allocations: 152 kB / 0.9604 GB, free: 172 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.8383, allocations: 40.86 kB / 0.9605 GB, free: 136 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.8384, allocations: 43.09 kB / 0.9605 GB, free: 100 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8385, allocations: 335.7 kB / 0.9608 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.839, allocations: 147.7 kB / 0.961 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.8395, allocations: 148.3 kB / 0.9611 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.8405, allocations: 295.7 kB / 0.9614 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.8405, allocations: 3.938 kB / 0.9614 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001292/0.8418, allocations: 370.9 kB / 0.9618 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.8419, allocations: 10.66 kB / 0.9618 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8419, allocations: 0 / 0.9618 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.8419, allocations: 1.156 kB / 0.9618 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.8424, allocations: 62.98 kB / 0.9618 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.8424, allocations: 5.078 kB / 0.9618 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.8428, allocations: 56.72 kB / 0.9619 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.8428, allocations: 3.938 kB / 0.9619 GB, free: 15.22 MB / 0.7325 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.0001542/0.8429, allocations: 136.1 kB / 0.962 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.843, allocations: 22.16 kB / 0.9621 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.8442, allocations: 389.8 kB / 0.9624 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.8443, allocations: 2.031 kB / 0.9624 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.8443, allocations: 4 kB / 0.9624 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.8443, allocations: 11.86 kB / 0.9624 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.8448, allocations: 305.6 kB / 0.9627 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8448, allocations: 0 / 0.9627 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.8452, allocations: 57.3 kB / 0.9628 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8453, allocations: 4 kB / 0.9628 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.8453, allocations: 6.516 kB / 0.9628 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8453, allocations: 0 / 0.9628 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8453, allocations: 1.406 kB / 0.9628 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.8464, allocations: 445.7 kB / 0.9632 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.8466, allocations: 122.3 kB / 0.9633 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.8466, allocations: 9.5 kB / 0.9634 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.847, allocations: 32.48 kB / 0.9634 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.8471, allocations: 17.44 kB / 0.9634 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.8471, allocations: 11.58 kB / 0.9634 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001787/0.8473, allocations: 186.2 kB / 0.9636 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8473, allocations: 0 / 0.9636 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003859/0.8477, allocations: 70.56 kB / 0.9637 GB, free: 13.91 MB / 0.7325 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.0002652/0.8479, allocations: 136.8 kB / 0.9638 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.8491, allocations: 335.4 kB / 0.9641 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.8491, allocations: 1.125 kB / 0.9641 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.8497, allocations: 165.8 kB / 0.9643 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.8503, allocations: 35.84 kB / 0.9643 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.8514, allocations: 0.5533 MB / 0.9648 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.8518, allocations: 0.7463 MB / 0.9656 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002634/0.8521, allocations: 45.95 kB / 0.9656 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.8522, allocations: 25.86 kB / 0.9656 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.8522, allocations: 0 / 0.9656 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.006743/0.8589, allocations: 3.042 MB / 0.9686 GB, free: 10.83 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches