Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001419/0.001419, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001716/0.001716, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.8 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 60.95 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3403, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003157/0.3435, allocations: 1.958 MB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003737/0.3473, allocations: 3.428 MB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.3474, allocations: 0 / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.3477, allocations: 43.75 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.3481, allocations: 119.4 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.523e-05/0.3482, allocations: 27.97 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.3484, allocations: 175.2 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3485, allocations: 25.69 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3486, allocations: 75.62 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3488, allocations: 75.67 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.3488, allocations: 15.88 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-05/0.3489, allocations: 19.98 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.349, allocations: 35.84 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.3491, allocations: 75.48 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.3493, allocations: 163.3 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3493, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.12e-07/0.3493, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3493, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 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.0008134/0.3501, allocations: 0.4946 MB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3502, allocations: 16.03 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.3502, allocations: 20.66 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.3505, allocations: 234.9 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3506, allocations: 8.359 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3506, allocations: 4.375 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.3509, allocations: 145.5 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.351, allocations: 4 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.351, allocations: 4 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.351, allocations: 15.98 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.3514, allocations: 127.9 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.3521, allocations: 440.5 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.3525, allocations: 166.4 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.3528, allocations: 104.8 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3528, allocations: 4 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.3528, allocations: 34.56 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3529, allocations: 0 / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0007902/0.3536, allocations: 280.9 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.3537, allocations: 55.39 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3539, allocations: 213 kB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3539, allocations: 25.7 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.354, allocations: 124 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.3541, allocations: 51.28 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.3541, allocations: 29.7 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3543, allocations: 338.8 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.3545, allocations: 67.94 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.3547, allocations: 75.94 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.3551, allocations: 148.8 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3551, allocations: 4 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005027/0.3556, allocations: 217.3 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3557, allocations: 4 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3557, allocations: 0 / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3557, allocations: 0 / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.3559, allocations: 31.97 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.356, allocations: 3.984 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3561, allocations: 19.98 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3562, allocations: 7.938 kB / 1.062 GB, free: 14.95 MB / 0.8262 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.000119/0.3563, allocations: 129.8 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.3563, allocations: 27.66 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.3564, allocations: 21.84 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3564, allocations: 3.984 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3564, allocations: 3.938 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3564, allocations: 0 / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.3567, allocations: 257.4 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3567, allocations: 4 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.3569, allocations: 39.95 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.357, allocations: 0 / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.357, allocations: 0 / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.357, allocations: 4 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.357, allocations: 0 / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.3575, allocations: 321.6 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.3577, allocations: 104.9 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.3577, allocations: 4 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3579, allocations: 11.98 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.3579, allocations: 11.98 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.358, allocations: 3.984 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001222/0.3581, allocations: 160.5 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3581, allocations: 0 / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002832/0.3584, allocations: 35.94 kB / 1.063 GB, free: 13.73 MB / 0.8262 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.0001573/0.3586, allocations: 115.2 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005477/0.3591, allocations: 171.8 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3591, allocations: 0 / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.3594, allocations: 87.88 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3599, allocations: 32.64 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009382/0.3609, allocations: 458 kB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.3613, allocations: 0.7238 MB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.3615, allocations: 56.58 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.3616, allocations: 15.44 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3616, allocations: 0 / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of Templates: time 0.004895/0.3665, allocations: 1.557 MB / 1.066 GB, free: 10.5 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches