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.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.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.001032/0.001032, allocations: 97.41 kB / 15.36 MB, free: 0.7305 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.001391/0.001391, allocations: 172.4 kB / 16.26 MB, free: 6.664 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.515/2.515, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.000395, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7678/0.7682, allocations: 142.4 MB / 0.955 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002147/0.7704, allocations: 1.617 MB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004031/0.7744, allocations: 3.378 MB / 0.9599 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.7746, allocations: 1.438 kB / 0.9599 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.775, allocations: 37.56 kB / 0.96 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.7755, allocations: 132.1 kB / 0.9601 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.42e-05/0.7757, allocations: 24.31 kB / 0.9601 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.7759, allocations: 181.6 kB / 0.9603 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.7761, allocations: 23.44 kB / 0.9603 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.7763, allocations: 75.25 kB / 0.9604 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.7765, allocations: 72.5 kB / 0.9604 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.7765, allocations: 4.125 kB / 0.9604 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.7766, allocations: 28.3 kB / 0.9605 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.7767, allocations: 33.47 kB / 0.9605 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.7768, allocations: 96.61 kB / 0.9606 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.777, allocations: 150.2 kB / 0.9607 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.777, allocations: 4 kB / 0.9607 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7771, allocations: 0 / 0.9607 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7771, allocations: 1.375 kB / 0.9607 GB, free: 3.168 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.0008329/0.7779, allocations: 494.1 kB / 0.9612 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.778, allocations: 9.625 kB / 0.9612 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.778, allocations: 17 kB / 0.9612 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.7784, allocations: 247.5 kB / 0.9615 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.7784, allocations: 3.125 kB / 0.9615 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.7785, allocations: 7.125 kB / 0.9615 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.7788, allocations: 150.8 kB / 0.9616 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.7788, allocations: 0 / 0.9616 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.7789, allocations: 0.9688 kB / 0.9616 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.7789, allocations: 11.84 kB / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.7794, allocations: 156.5 kB / 0.9618 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.7801, allocations: 455.2 kB / 0.9622 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.7805, allocations: 178.8 kB / 0.9624 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.7808, allocations: 108 kB / 0.9625 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.7808, allocations: 13.02 kB / 0.9625 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.7808, allocations: 36.64 kB / 0.9625 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.7808, allocations: 0 / 0.9625 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0008699/0.7817, allocations: 293 kB / 0.9628 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.7818, allocations: 56.62 kB / 0.9629 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.782, allocations: 213.9 kB / 0.9631 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.782, allocations: 25.7 kB / 0.9631 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.7821, allocations: 124.2 kB / 0.9632 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.7821, allocations: 37.23 kB / 0.9633 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.7821, allocations: 16.47 kB / 0.9633 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.7822, allocations: 335.7 kB / 0.9636 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.7825, allocations: 85.03 kB / 0.9637 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.7827, allocations: 79.16 kB / 0.9638 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.7831, allocations: 170.3 kB / 0.9639 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7832, allocations: 7.938 kB / 0.9639 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005291/0.7837, allocations: 228.3 kB / 0.9641 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7837, allocations: 5.531 kB / 0.9641 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7837, allocations: 3.984 kB / 0.9641 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.7838, allocations: 0 / 0.9641 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.784, allocations: 47.73 kB / 0.9642 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.784, allocations: 1.312 kB / 0.9642 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.7842, allocations: 27.42 kB / 0.9642 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.7842, allocations: 3.406 kB / 0.9642 GB, free: 480 kB / 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 9.068e-05/0.7843, allocations: 131 kB / 0.9643 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.7844, allocations: 19.78 kB / 0.9644 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.7844, allocations: 26.67 kB / 0.9644 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7844, allocations: 1.406 kB / 0.9644 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7845, allocations: 1.188 kB / 0.9644 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7845, allocations: 4 kB / 0.9644 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.7847, allocations: 255.1 kB / 0.9646 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7847, allocations: 0 / 0.9646 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.7849, allocations: 48.33 kB / 0.9647 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.7849, allocations: 0 / 0.9647 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.785, allocations: 1.281 kB / 0.9647 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.785, allocations: 1.281 kB / 0.9647 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.785, allocations: 0 / 0.9647 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.7856, allocations: 335.9 kB / 0.965 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.715e-05/0.7857, allocations: 111.9 kB / 0.9651 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.7857, allocations: 0 / 0.9651 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.7859, allocations: 17.92 kB / 0.9651 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.786, allocations: 13.31 kB / 0.9651 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.786, allocations: 3 kB / 0.9652 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001233/0.7861, allocations: 158.3 kB / 0.9653 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7861, allocations: 1.625 kB / 0.9653 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002936/0.7864, allocations: 33.5 kB / 0.9653 GB, free: 15.55 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.0001841/0.7866, allocations: 115.6 kB / 0.9654 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000558/0.7872, allocations: 180.8 kB / 0.9656 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7872, allocations: 0 / 0.9656 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.7875, allocations: 100.1 kB / 0.9657 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.7879, allocations: 28.03 kB / 0.9657 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008623/0.7888, allocations: 0.4915 MB / 0.9662 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.7891, allocations: 0.7238 MB / 0.9669 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001889/0.7893, allocations: 50.25 kB / 0.967 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.7893, allocations: 18.02 kB / 0.967 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.7894, allocations: 4 kB / 0.967 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.005233/0.7946, allocations: 1.525 MB / 0.9685 GB, free: 13.44 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/jenkins/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