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.001297/0.001297, allocations: 116.1 kB / 17.17 MB, free: 6 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.001285/0.001285, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.405/1.405, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.678/2.678, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_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.002143/0.002143, allocations: 67.91 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9204/0.9225, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003174/0.9257, allocations: 1.562 MB / 1.28 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.9258, allocations: 32.34 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.9259, allocations: 4.875 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.926, allocations: 12.06 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.926, allocations: 5.359 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.9262, allocations: 22.58 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.9263, allocations: 47.42 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.9264, allocations: 26.28 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.9265, allocations: 24.45 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.9265, allocations: 29.33 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.9266, allocations: 4.219 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.9266, allocations: 8.5 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.9266, allocations: 21.67 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.9267, allocations: 24.34 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.9268, allocations: 59.02 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.9268, allocations: 0.7969 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9268, allocations: 0 / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.9268, allocations: 5.031 kB / 1.281 GB, free: 10.49 MB / 0.9981 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.0004505/0.9273, allocations: 366.7 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.9273, allocations: 10.09 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.702e-05/0.9273, allocations: 6.75 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.9274, allocations: 38.75 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.9274, allocations: 7.766 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.9276, allocations: 185.1 kB / 1.281 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.9276, allocations: 7.656 kB / 1.281 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.9276, allocations: 5.281 kB / 1.281 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.9278, allocations: 105.8 kB / 1.281 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.9278, allocations: 4 kB / 1.281 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.9278, allocations: 1.219 kB / 1.281 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.9278, allocations: 2.906 kB / 1.281 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.9279, allocations: 44.03 kB / 1.282 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.9286, allocations: 0.6385 MB / 1.282 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.9288, allocations: 170.2 kB / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.9288, allocations: 81.27 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.9289, allocations: 75.28 kB / 1.282 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.9289, allocations: 111.6 kB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.9289, allocations: 0 / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.162e-05/0.929, allocations: 46.02 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.9291, allocations: 127.8 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.9293, allocations: 166.5 kB / 1.283 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.9293, allocations: 25.7 kB / 1.283 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.9294, allocations: 107.2 kB / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.9294, allocations: 0 / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.9294, allocations: 22.05 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.9295, allocations: 319.9 kB / 1.283 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.9295, allocations: 7.312 kB / 1.283 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/0.9296, allocations: 23.48 kB / 1.283 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.9296, allocations: 28.45 kB / 1.283 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9296, allocations: 1.125 kB / 1.283 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001318/0.9298, allocations: 60.06 kB / 1.283 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.9298, allocations: 9.125 kB / 1.283 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.9298, allocations: 1.703 kB / 1.283 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.9298, allocations: 1.031 kB / 1.283 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.9299, allocations: 9.328 kB / 1.283 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.9299, allocations: 5.141 kB / 1.283 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.9299, allocations: 6.844 kB / 1.283 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.9299, allocations: 1.812 kB / 1.283 GB, free: 7.762 MB / 0.9981 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.0001245/0.93, allocations: 202.2 kB / 1.284 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.9301, allocations: 113.3 kB / 1.284 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.608e-05/0.9302, allocations: 110.8 kB / 1.284 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-05/0.9303, allocations: 181.6 kB / 1.284 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.501e-05/0.9303, allocations: 182 kB / 1.284 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.827e-05/0.9304, allocations: 186.2 kB / 1.284 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.9307, allocations: 421.7 kB / 1.285 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.323e-05/0.9308, allocations: 103.6 kB / 1.285 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.9308, allocations: 114.7 kB / 1.285 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.622e-05/0.9309, allocations: 182.2 kB / 1.285 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-05/0.931, allocations: 182.4 kB / 1.285 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.553e-05/0.931, allocations: 181.3 kB / 1.286 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.681e-05/0.9311, allocations: 181.9 kB / 1.286 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.9313, allocations: 308.2 kB / 1.286 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/0.9314, allocations: 198.5 kB / 1.286 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.9315, allocations: 190.9 kB / 1.286 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.9315, allocations: 101.6 kB / 1.286 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.9316, allocations: 182.6 kB / 1.287 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.9317, allocations: 102.6 kB / 1.287 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001394/0.9318, allocations: 129.3 kB / 1.287 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9318, allocations: 0 / 1.287 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002197/0.932, allocations: 6.25 kB / 1.287 GB, free: 4.168 MB / 0.9981 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.0005022/0.9325, allocations: 0.8198 MB / 1.288 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.9326, allocations: 18.88 kB / 1.288 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9326, allocations: 4.469 kB / 1.288 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.9326, allocations: 0.5938 kB / 1.288 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.9331, allocations: 465.6 kB / 1.288 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.9347, allocations: 1.645 MB / 1.29 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.935, allocations: 0.6902 MB / 1.29 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.935, allocations: 5.969 kB / 1.29 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.9351, allocations: 23.66 kB / 1.29 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.9351, allocations: 0 / 1.29 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.9529, allocations: 1.753 MB / 1.292 GB, free: 292 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/9.087, allocations: 11.95 kB / 1.292 GB, free: 288 kB / 0.9981 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.053550958982669]