Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001631/0.001631, allocations: 116.6 kB / 17.13 MB, free: 6.027 MB / 14.72 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.001966/0.001966, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 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 1.624/1.624, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 79.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306/1.308, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00276/1.311, allocations: 1.548 MB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/1.311, allocations: 40.89 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/1.311, allocations: 0 / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/1.311, allocations: 18.14 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/1.311, allocations: 3.938 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/1.311, allocations: 20.5 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/1.311, allocations: 43.3 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/1.311, allocations: 23.16 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.005e-05/1.311, allocations: 24.33 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/1.312, allocations: 35.78 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/1.312, allocations: 2.531 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/1.312, allocations: 9.469 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/1.312, allocations: 20.62 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/1.312, allocations: 26.55 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/1.312, allocations: 59.12 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.312, allocations: 0 / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.174e-06/1.312, allocations: 0 / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.312, allocations: 0 / 1.324 GB, free: 23.84 MB / 1.061 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.0003859/1.312, allocations: 369.3 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.312, allocations: 14.58 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/1.312, allocations: 7.891 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/1.312, allocations: 187.3 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/1.312, allocations: 5.594 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/1.312, allocations: 6.75 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/1.313, allocations: 107.5 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.313, allocations: 3.156 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/1.313, allocations: 11.94 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.313, allocations: 0 / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.164e-05/1.313, allocations: 43.3 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/1.313, allocations: 0.6414 MB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.872e-05/1.313, allocations: 175.9 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/1.313, allocations: 80.14 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/1.313, allocations: 75.28 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/1.313, allocations: 105.8 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/1.313, allocations: 0 / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.903e-05/1.313, allocations: 39.28 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/1.313, allocations: 134.7 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.314, allocations: 161.9 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/1.314, allocations: 28.73 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/1.314, allocations: 102.1 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-06/1.314, allocations: 0 / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/1.314, allocations: 16.72 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/1.314, allocations: 329 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/1.314, allocations: 7 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/1.314, allocations: 24.69 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/1.314, allocations: 24.08 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.314, allocations: 0 / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001186/1.314, allocations: 62.25 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.314, allocations: 7.406 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/1.314, allocations: 3.938 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.314, allocations: 6.688 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/1.314, allocations: 3.031 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.314, allocations: 2.812 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/1.314, allocations: 6.75 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/1.314, allocations: 0 / 1.326 GB, free: 21.15 MB / 1.061 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 7.955e-05/1.314, allocations: 194 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/1.314, allocations: 111.8 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/1.314, allocations: 127 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.565e-05/1.314, allocations: 176.3 kB / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-05/1.314, allocations: 182.7 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/1.314, allocations: 176.3 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/1.315, allocations: 425.8 kB / 1.328 GB, free: 19.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/1.315, allocations: 112.4 kB / 1.328 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/1.315, allocations: 105 kB / 1.328 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.628e-05/1.315, allocations: 182.9 kB / 1.328 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/1.315, allocations: 188.1 kB / 1.328 GB, free: 19.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-05/1.315, allocations: 179.3 kB / 1.329 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.765e-05/1.315, allocations: 187.4 kB / 1.329 GB, free: 18.76 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/1.315, allocations: 309.4 kB / 1.329 GB, free: 18.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/1.315, allocations: 188.2 kB / 1.329 GB, free: 18.24 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/1.315, allocations: 187 kB / 1.329 GB, free: 18.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/1.315, allocations: 108.9 kB / 1.329 GB, free: 17.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/1.315, allocations: 183.5 kB / 1.33 GB, free: 17.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/1.315, allocations: 107.8 kB / 1.33 GB, free: 17.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.772e-05/1.315, allocations: 122 kB / 1.33 GB, free: 17.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.315, allocations: 0 / 1.33 GB, free: 17.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002142/1.315, allocations: 10 kB / 1.33 GB, free: 17.55 MB / 1.061 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.0001269/1.315, allocations: 183 kB / 1.33 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.581e-05/1.316, allocations: 6.062 kB / 1.33 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.316, allocations: 0 / 1.33 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/1.316, allocations: 3.938 kB / 1.33 GB, free: 17.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/1.316, allocations: 458.6 kB / 1.33 GB, free: 16.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/1.316, allocations: 260.7 kB / 1.331 GB, free: 16.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/1.316, allocations: 0.6933 MB / 1.331 GB, free: 16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/1.316, allocations: 9.906 kB / 1.331 GB, free: 15.99 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.316, allocations: 0 / 1.331 GB, free: 15.99 MB / 1.061 GB Notification: Performance of Templates: time 0.002262/1.319, allocations: 0.8078 MB / 1.332 GB, free: 15.92 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.029375372992945]