Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009658/0.0009658, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9119/0.9119, allocations: 177.2 MB / 203.5 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.954e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002303/0.002332, allocations: 1.545 MB / 0.9532 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/0.002444, allocations: 31.86 kB / 0.9533 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.002503, allocations: 4 kB / 0.9533 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.002626, allocations: 11.86 kB / 0.9533 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.291e-05/0.002659, allocations: 3.938 kB / 0.9533 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.002778, allocations: 23.95 kB / 0.9533 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.002874, allocations: 47.84 kB / 0.9534 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.003004, allocations: 19.94 kB / 0.9534 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.003052, allocations: 27.97 kB / 0.9534 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.003122, allocations: 31.89 kB / 0.9534 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.003148, allocations: 7.938 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.003156, allocations: 4 kB / 0.9535 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.003208, allocations: 19.92 kB / 0.9535 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.003238, allocations: 12 kB / 0.9535 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003343, allocations: 59.73 kB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.003345, allocations: 0 / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003346, allocations: 0 / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.003351, allocations: 0 / 0.9535 GB, free: 1.164 MB / 0.9011 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.0003486/0.0037, allocations: 290.1 kB / 0.9538 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.003737, allocations: 19.97 kB / 0.9538 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.003764, allocations: 4.891 kB / 0.9538 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.003892, allocations: 129.7 kB / 0.954 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.003901, allocations: 384 / 0.954 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.003913, allocations: 12.38 kB / 0.954 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.004051, allocations: 99.83 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.004059, allocations: 192 / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.00407, allocations: 8.375 kB / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.004075, allocations: 384 / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.004146, allocations: 47.84 kB / 0.9541 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.004585, allocations: 0.5658 MB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.867e-05/0.004654, allocations: 169.1 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.004681, allocations: 84.69 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.004702, allocations: 75.28 kB / 0.955 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.004745, allocations: 117.8 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.004746, allocations: 0 / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.363e-05/0.00481, allocations: 29.66 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.004861, allocations: 134.7 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/0.004959, allocations: 117.8 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.004968, allocations: 25.7 kB / 0.9554 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.005026, allocations: 115.9 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.005029, allocations: 0 / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.005054, allocations: 17.72 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.005143, allocations: 322.8 kB / 0.9558 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.005156, allocations: 7.938 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.005174, allocations: 18.58 kB / 0.9559 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.005212, allocations: 26.58 kB / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.005214, allocations: 0 / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001043/0.005319, allocations: 61.58 kB / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.005331, allocations: 4 kB / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.005337, allocations: 0 / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.00535, allocations: 4 kB / 0.9559 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.00541, allocations: 11.94 kB / 0.956 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.005415, allocations: 0 / 0.956 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.005433, allocations: 3.938 kB / 0.956 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.005438, allocations: 4 kB / 0.956 GB, free: 14.46 MB / 0.9167 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.212e-05/0.00552, allocations: 193.1 kB / 0.9562 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.005558, allocations: 109.1 kB / 0.9563 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.005595, allocations: 108.4 kB / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.711e-05/0.005642, allocations: 184.3 kB / 0.9565 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-05/0.005691, allocations: 184.2 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.4e-05/0.005735, allocations: 180.3 kB / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.005881, allocations: 376.7 kB / 0.9572 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/0.005909, allocations: 108.9 kB / 0.9573 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.005937, allocations: 105 kB / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.516e-05/0.005982, allocations: 184.2 kB / 0.9576 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.00603, allocations: 180.3 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.68e-05/0.006077, allocations: 184.2 kB / 0.958 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.507e-05/0.006122, allocations: 188.2 kB / 0.9581 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.345e-05/0.006216, allocations: 315.7 kB / 0.9585 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.006248, allocations: 101 kB / 0.9585 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.006304, allocations: 184.2 kB / 0.9587 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.194e-05/0.006356, allocations: 104.9 kB / 0.9588 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.006405, allocations: 176.3 kB / 0.959 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.00643, allocations: 108.9 kB / 0.9591 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.006472, allocations: 95.27 kB / 0.9592 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006472, allocations: 0 / 0.9592 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001391/0.006611, allocations: 11.95 kB / 0.9592 GB, free: 10.96 MB / 0.9167 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 0.0001007/0.006712, allocations: 182.4 kB / 0.9594 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.452e-05/0.006786, allocations: 11.98 kB / 0.9594 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.006789, allocations: 4 kB / 0.9594 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.006791, allocations: 3.938 kB / 0.9594 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.007062, allocations: 451.7 kB / 0.9598 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.007374, allocations: 253.7 kB / 0.9601 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.007432, allocations: 79.45 kB / 0.9601 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.007455, allocations: 12.5 kB / 0.9601 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.007456, allocations: 0 / 0.9601 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of Templates: time 0.001803/0.009259, allocations: 0.7117 MB / 0.9608 GB, free: 9.211 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.915953085757792]