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.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.00152/0.00152, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00166/0.00166, allocations: 216.4 kB / 23.03 MB, free: 4.949 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.996/2.996, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="cs",version="2.0",platforms={"static"}) [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.001909/0.001909, allocations: 66.41 kB / 1.17 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3421, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00271/0.3448, allocations: 1.545 MB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001105/0.3449, allocations: 27.86 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.3449, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.3451, allocations: 11.92 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.3451, allocations: 7.875 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.3452, allocations: 23.97 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.3453, allocations: 39.84 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3455, allocations: 36.14 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.904e-05/0.3455, allocations: 23.92 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.3456, allocations: 23.91 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.3456, allocations: 8 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.3456, allocations: 8 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.3457, allocations: 15.92 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.3457, allocations: 27.81 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.3458, allocations: 63.61 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3458, allocations: 0 / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3458, allocations: 0 / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3458, allocations: 0 / 1.347 GB, free: 14.08 MB / 1.045 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.0004242/0.3463, allocations: 290.2 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3463, allocations: 8.031 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.755e-05/0.3463, allocations: 4.188 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.3463, allocations: 38.75 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.3464, allocations: 12.88 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3465, allocations: 118.5 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3466, allocations: 4.375 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3466, allocations: 12.36 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.3467, allocations: 107.3 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3468, allocations: 0 / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3468, allocations: 4 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.3468, allocations: 4 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.3469, allocations: 43.91 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.3474, allocations: 0.6003 MB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/0.3475, allocations: 169.1 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.3476, allocations: 80.14 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.3476, allocations: 75.28 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.3477, allocations: 117.7 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3477, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.483e-05/0.3477, allocations: 37.59 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.3478, allocations: 126.7 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.348, allocations: 173 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.348, allocations: 25.7 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.3481, allocations: 112 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.3481, allocations: 0 / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.3481, allocations: 21.7 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3482, allocations: 314.8 kB / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.3483, allocations: 8 kB / 1.349 GB, free: 11.4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.3483, allocations: 22.56 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.3483, allocations: 30.55 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3483, allocations: 0 / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001164/0.3485, allocations: 61.58 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3485, allocations: 14.28 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3485, allocations: 0 / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3485, allocations: 0 / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.3485, allocations: 8 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3485, allocations: 4 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.3486, allocations: 7.891 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3486, allocations: 11.94 kB / 1.35 GB, free: 11.22 MB / 1.045 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 0.0001132/0.3487, allocations: 201.1 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/0.3488, allocations: 116.9 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.3488, allocations: 112.6 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.45e-05/0.3489, allocations: 184.2 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.763e-05/0.349, allocations: 184.2 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.566e-05/0.3491, allocations: 180.2 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3493, allocations: 392.3 kB / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.396e-05/0.3494, allocations: 101 kB / 1.351 GB, free: 9.672 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.3494, allocations: 105.1 kB / 1.351 GB, free: 9.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.471e-05/0.3495, allocations: 184.2 kB / 1.351 GB, free: 9.375 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.3496, allocations: 184.2 kB / 1.352 GB, free: 9.188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.418e-05/0.3496, allocations: 184.3 kB / 1.352 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.169e-05/0.3497, allocations: 184.2 kB / 1.352 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.3499, allocations: 307.8 kB / 1.352 GB, free: 8.488 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.3499, allocations: 124.8 kB / 1.352 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.635e-05/0.35, allocations: 184.2 kB / 1.352 GB, free: 8.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.3501, allocations: 104.9 kB / 1.353 GB, free: 8.062 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.3502, allocations: 180.3 kB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.3502, allocations: 101 kB / 1.353 GB, free: 7.773 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001022/0.3503, allocations: 134.7 kB / 1.353 GB, free: 7.645 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3503, allocations: 0 / 1.353 GB, free: 7.645 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002055/0.3505, allocations: 4 kB / 1.353 GB, free: 7.641 MB / 1.045 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.0004517/0.351, allocations: 0.8164 MB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.652e-05/0.3511, allocations: 15.92 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3511, allocations: 0 / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.3511, allocations: 0 / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3515, allocations: 459.7 kB / 1.354 GB, free: 6.328 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3529, allocations: 1.627 MB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.557e-05/0.353, allocations: 83.64 kB / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.353, allocations: 7.984 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.3531, allocations: 19.44 kB / 1.356 GB, free: 4.48 MB / 1.045 GB Notification: Performance of SimCode: time 2.61e-07/0.3531, allocations: 0 / 1.356 GB, free: 4.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.3735, allocations: 1.88 MB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.41, allocations: 9.234 kB / 1.358 GB, free: 2.746 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.813038993044756]