Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, 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.001162/0.001162, allocations: 192 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.344/2.344, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 64.5 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2326, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002342/0.235, allocations: 1.596 MB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.111e-05/0.2351, allocations: 39.84 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.2352, allocations: 4 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.543e-05/0.2353, allocations: 7.922 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.661e-05/0.2353, allocations: 3.938 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.297e-05/0.2354, allocations: 15.98 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.2355, allocations: 43.91 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2356, allocations: 35.97 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.792e-05/0.2356, allocations: 19.92 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.2356, allocations: 23.86 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2357, allocations: 4 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.2357, allocations: 4 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.2357, allocations: 15.92 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.2358, allocations: 23.88 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.706e-05/0.2358, allocations: 56.02 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2359, allocations: 4 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.31e-07/0.2359, allocations: 3.938 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.2359, allocations: 4 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003177/0.2362, allocations: 371.2 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.2362, allocations: 8.031 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.2363, allocations: 8.844 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2364, allocations: 172.4 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2364, allocations: 16.3 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.2364, allocations: 4.375 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2366, allocations: 100.8 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2366, allocations: 4.188 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.2366, allocations: 3.938 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2366, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.651e-05/0.2367, allocations: 43.97 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.2371, allocations: 0.64 MB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.507e-05/0.2372, allocations: 173.1 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.2372, allocations: 80.14 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.2373, allocations: 79.28 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.2373, allocations: 109.8 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/0.2373, allocations: 3.984 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.336e-05/0.2374, allocations: 41.48 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.2374, allocations: 126.7 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2376, allocations: 169.2 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.2376, allocations: 25.7 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.2377, allocations: 112 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-06/0.2377, allocations: 0 / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.2377, allocations: 21.62 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.2378, allocations: 318.8 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.2378, allocations: 7.938 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.2378, allocations: 18.58 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.2379, allocations: 34.52 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2379, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.672e-05/0.238, allocations: 53.62 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.238, allocations: 4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.238, allocations: 4 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.238, allocations: 3.938 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.2381, allocations: 4 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2381, allocations: 4.094 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.2381, allocations: 19.84 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-06/0.2381, allocations: 0 / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.606e-05/0.2382, allocations: 197 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.2383, allocations: 112.9 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.2383, allocations: 116.6 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/0.2384, allocations: 184.2 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-05/0.2384, allocations: 180.3 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.645e-05/0.2385, allocations: 184.2 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.2387, allocations: 433.2 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/0.2387, allocations: 101.1 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.2387, allocations: 108.9 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-05/0.2388, allocations: 180.3 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/0.2388, allocations: 188.1 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.903e-05/0.2389, allocations: 180.2 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.982e-05/0.2389, allocations: 180.3 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.857e-05/0.2391, allocations: 311.7 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.2391, allocations: 193.9 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.2392, allocations: 184.2 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.2393, allocations: 101 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.2393, allocations: 180.2 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.2393, allocations: 105 kB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.204e-05/0.2394, allocations: 131.2 kB / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2394, allocations: 0 / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002042/0.2396, allocations: 8 kB / 1.075 GB, free: 2.262 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 (0): * Single equations (assignments): 0 * 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 9.528e-05/0.2397, allocations: 170.5 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.406e-05/0.2398, allocations: 11.94 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2398, allocations: 7.938 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.2398, allocations: 0 / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.2401, allocations: 0.5245 MB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.2404, allocations: 243.1 kB / 1.076 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.2406, allocations: 0.7004 MB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.587e-05/0.2407, allocations: 4 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.2407, allocations: 7.438 kB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2407, allocations: 0 / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of Templates: time 0.001785/0.2425, allocations: 412.6 kB / 1.077 GB, free: 136 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches