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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.63/2.63, allocations: 476.7 MB / 0.7611 GB, free: 15.74 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 71.88 kB / 1.104 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.924/0.926, allocations: 168.7 MB / 1.269 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002505/0.9286, allocations: 1.552 MB / 1.27 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.9287, allocations: 35.66 kB / 1.27 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.9287, allocations: 5.344 kB / 1.27 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.9288, allocations: 10.08 kB / 1.27 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.4e-05/0.9289, allocations: 5.5 kB / 1.27 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.929, allocations: 22.38 kB / 1.27 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.9291, allocations: 50.3 kB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.9292, allocations: 27.17 kB / 1.27 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.9293, allocations: 20.36 kB / 1.27 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.9293, allocations: 32.73 kB / 1.27 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.9294, allocations: 4.906 kB / 1.27 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.9294, allocations: 4.188 kB / 1.27 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.9294, allocations: 18.17 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.9295, allocations: 28.45 kB / 1.271 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.9296, allocations: 58.39 kB / 1.271 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9296, allocations: 5 kB / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9296, allocations: 0 / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.9296, allocations: 0 / 1.271 GB, free: 6.496 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.0003368/0.9299, allocations: 371.5 kB / 1.271 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.93, allocations: 10.12 kB / 1.271 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.93, allocations: 38.64 kB / 1.271 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.93, allocations: 8.672 kB / 1.271 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.9302, allocations: 184.8 kB / 1.271 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.9302, allocations: 3.094 kB / 1.271 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.9302, allocations: 9.656 kB / 1.271 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.9303, allocations: 94.03 kB / 1.271 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.9304, allocations: 13.33 kB / 1.271 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.9304, allocations: 4.844 kB / 1.271 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.9304, allocations: 1.719 kB / 1.271 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.9305, allocations: 36.36 kB / 1.271 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.9309, allocations: 0.6418 MB / 1.272 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/0.931, allocations: 175.2 kB / 1.272 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.931, allocations: 80.14 kB / 1.272 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.931, allocations: 76.03 kB / 1.272 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.931, allocations: 107.6 kB / 1.272 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.931, allocations: 0 / 1.272 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.485e-05/0.9311, allocations: 46.3 kB / 1.272 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.9311, allocations: 131.2 kB / 1.273 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.9313, allocations: 167.1 kB / 1.273 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-06/0.9313, allocations: 25.7 kB / 1.273 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.9313, allocations: 99.83 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.9313, allocations: 4.844 kB / 1.273 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.9313, allocations: 12.94 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.9314, allocations: 324.1 kB / 1.273 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.9314, allocations: 3.062 kB / 1.273 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.9314, allocations: 27.81 kB / 1.273 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.9315, allocations: 33.38 kB / 1.273 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.9315, allocations: 0 / 1.273 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001188/0.9316, allocations: 59.94 kB / 1.273 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9316, allocations: 6.438 kB / 1.273 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9316, allocations: 4.75 kB / 1.273 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.9316, allocations: 0.7188 kB / 1.273 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.9317, allocations: 5.516 kB / 1.273 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.9317, allocations: 2.188 kB / 1.273 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.9317, allocations: 9.953 kB / 1.273 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.9317, allocations: 6.344 kB / 1.273 GB, free: 3.766 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 6.474e-05/0.9318, allocations: 195.9 kB / 1.273 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.9318, allocations: 117.4 kB / 1.274 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.9319, allocations: 118.2 kB / 1.274 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.9319, allocations: 182.1 kB / 1.274 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.438e-05/0.9319, allocations: 178.4 kB / 1.274 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.9319, allocations: 177.8 kB / 1.274 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.9322, allocations: 429.5 kB / 1.275 GB, free: 18.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.482e-05/0.9323, allocations: 102.6 kB / 1.275 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.9323, allocations: 110.7 kB / 1.275 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.797e-05/0.9324, allocations: 182.3 kB / 1.275 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/0.9325, allocations: 182.1 kB / 1.275 GB, free: 17.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-05/0.9326, allocations: 189.8 kB / 1.275 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.657e-05/0.9327, allocations: 177.9 kB / 1.276 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.9328, allocations: 312.3 kB / 1.276 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/0.9329, allocations: 186.4 kB / 1.276 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.933, allocations: 194.5 kB / 1.276 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.9331, allocations: 102.5 kB / 1.276 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.9332, allocations: 186.5 kB / 1.276 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.9332, allocations: 101.8 kB / 1.277 GB, free: 16.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001163/0.9333, allocations: 129.5 kB / 1.277 GB, free: 16.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9333, allocations: 0 / 1.277 GB, free: 16.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002151/0.9336, allocations: 5.844 kB / 1.277 GB, free: 16.17 MB / 1.014 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.0004837/0.934, allocations: 0.8202 MB / 1.277 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.893e-05/0.9341, allocations: 6.656 kB / 1.277 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9341, allocations: 0 / 1.277 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.9341, allocations: 1.547 kB / 1.277 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.9345, allocations: 470.3 kB / 1.278 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.9361, allocations: 1.645 MB / 1.28 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.9364, allocations: 0.6906 MB / 1.28 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.9364, allocations: 6.234 kB / 1.28 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.9364, allocations: 19.77 kB / 1.28 GB, free: 12.72 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.9364, allocations: 0 / 1.28 GB, free: 12.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.9603, allocations: 1.722 MB / 1.282 GB, free: 12.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.835, allocations: 11.98 kB / 1.282 GB, free: 12.3 MB / 1.014 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_2/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: 14.530983956996351]