Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009644/0.009644, allocations: 96.19 kB / 15.87 MB, free: 6.297 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.002003/0.002003, allocations: 205 kB / 16.79 MB, free: 6.223 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 59.91 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7426, allocations: 140.4 MB / 0.9496 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003062/0.7457, allocations: 1.965 MB / 0.9515 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003397/0.7491, allocations: 3.411 MB / 0.9548 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-05/0.7493, allocations: 1.5 kB / 0.9548 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.7496, allocations: 45.36 kB / 0.9549 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.75, allocations: 124.8 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.663e-05/0.7501, allocations: 26.69 kB / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.7503, allocations: 178.5 kB / 0.9552 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.7505, allocations: 27.73 kB / 0.9552 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.7506, allocations: 72.64 kB / 0.9553 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.7508, allocations: 76.88 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.7508, allocations: 6.031 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.234e-05/0.7509, allocations: 36.52 kB / 0.9554 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.74e-05/0.751, allocations: 34.06 kB / 0.9554 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.7511, allocations: 70.83 kB / 0.9555 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.7513, allocations: 106.1 kB / 0.9556 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7513, allocations: 1.281 kB / 0.9556 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.71e-07/0.7513, allocations: 4 kB / 0.9556 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7513, allocations: 0 / 0.9556 GB, free: 4.203 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007727/0.7521, allocations: 0.4942 MB / 0.9561 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.7521, allocations: 9.75 kB / 0.9561 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.7522, allocations: 17.25 kB / 0.9561 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.7525, allocations: 244.2 kB / 0.9563 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.7525, allocations: 6.156 kB / 0.9564 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.7525, allocations: 3.156 kB / 0.9564 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.7529, allocations: 139.9 kB / 0.9565 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.7529, allocations: 3.984 kB / 0.9565 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.7529, allocations: 4.828 kB / 0.9565 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.7529, allocations: 15.64 kB / 0.9565 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.7534, allocations: 141.5 kB / 0.9566 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.754, allocations: 447.7 kB / 0.9571 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.7544, allocations: 166.4 kB / 0.9572 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.7546, allocations: 104.5 kB / 0.9573 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.7547, allocations: 10.36 kB / 0.9573 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.7547, allocations: 31.66 kB / 0.9574 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.7547, allocations: 0 / 0.9574 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007799/0.7555, allocations: 283.5 kB / 0.9576 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.7555, allocations: 51.41 kB / 0.9577 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.7557, allocations: 206 kB / 0.9579 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.7557, allocations: 31.7 kB / 0.9579 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.7558, allocations: 117.9 kB / 0.958 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.7558, allocations: 40.86 kB / 0.9581 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.7559, allocations: 28.27 kB / 0.9581 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.756, allocations: 339.3 kB / 0.9584 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.7562, allocations: 69.94 kB / 0.9585 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.7564, allocations: 74.97 kB / 0.9586 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.7568, allocations: 165.3 kB / 0.9587 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7568, allocations: 1.5 kB / 0.9587 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004711/0.7573, allocations: 201.4 kB / 0.9589 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.7573, allocations: 9.5 kB / 0.9589 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7573, allocations: 0 / 0.9589 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7573, allocations: 1.375 kB / 0.9589 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.7576, allocations: 35.33 kB / 0.959 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.7576, allocations: 1.375 kB / 0.959 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.7578, allocations: 16.17 kB / 0.959 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.7578, allocations: 6.688 kB / 0.959 GB, free: 1.508 MB / 0.7169 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 (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 prepare postOptimizeDAE: time 0.0001039/0.7579, allocations: 138 kB / 0.9591 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.7579, allocations: 21.25 kB / 0.9591 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.758, allocations: 27.17 kB / 0.9592 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.758, allocations: 1.312 kB / 0.9592 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.758, allocations: 0 / 0.9592 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.758, allocations: 0 / 0.9592 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.7583, allocations: 259.7 kB / 0.9594 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.7583, allocations: 0 / 0.9594 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.7585, allocations: 35.5 kB / 0.9594 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7585, allocations: 5.281 kB / 0.9594 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.7585, allocations: 1.5 kB / 0.9594 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7585, allocations: 1.5 kB / 0.9594 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7585, allocations: 7.922 kB / 0.9595 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.7591, allocations: 311.3 kB / 0.9597 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.7592, allocations: 110.8 kB / 0.9599 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.7592, allocations: 5.062 kB / 0.9599 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.7594, allocations: 18.91 kB / 0.9599 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.7595, allocations: 12.64 kB / 0.9599 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.7595, allocations: 7.469 kB / 0.9599 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001186/0.7596, allocations: 155.2 kB / 0.96 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7596, allocations: 0 / 0.96 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002843/0.7599, allocations: 42.28 kB / 0.9601 GB, free: 0.5625 MB / 0.7169 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.0001468/0.76, allocations: 107.6 kB / 0.9602 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.7606, allocations: 162.3 kB / 0.9603 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7606, allocations: 0 / 0.9603 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.7608, allocations: 94.69 kB / 0.9604 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.7613, allocations: 25.31 kB / 0.9605 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.7621, allocations: 490.4 kB / 0.9609 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.7624, allocations: 0.7321 MB / 0.9616 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.7625, allocations: 19.11 kB / 0.9617 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.7625, allocations: 0 / 0.9617 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.004561/0.7671, allocations: 2.225 MB / 0.9638 GB, free: 14.11 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches