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.0009132/0.0009132, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001054/0.001054, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8966/0.8966, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.613/1.613, allocations: 359 MB / 0.6037 GB, free: 11.09 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: "" <> 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 1.413e-06/1.413e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.223e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00162/0.001632, allocations: 1.541 MB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.243e-05/0.001725, allocations: 31.84 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.00177, allocations: 4 kB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.898e-05/0.001869, allocations: 15.86 kB / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.719e-05/0.001896, allocations: 3.938 kB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.001997, allocations: 19.97 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.75e-05/0.002075, allocations: 47.84 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.002176, allocations: 19.97 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.002217, allocations: 27.92 kB / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.002268, allocations: 23.91 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.002288, allocations: 8 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-06/0.002295, allocations: 4 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.002333, allocations: 19.92 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.002362, allocations: 23.91 kB / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.131e-05/0.002444, allocations: 55.8 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002445, allocations: 0 / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002446, allocations: 0 / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.002449, allocations: 0 / 0.9523 GB, free: 1.641 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.0002789/0.002728, allocations: 290.1 kB / 0.9526 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.002761, allocations: 15.97 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.795e-05/0.002789, allocations: 38.75 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.956e-05/0.002809, allocations: 8.891 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.002929, allocations: 125.7 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.002937, allocations: 12.31 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.002946, allocations: 8.375 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.003057, allocations: 100.8 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003064, allocations: 192 / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.003071, allocations: 384 / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.003077, allocations: 8.125 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.989e-05/0.003137, allocations: 43.91 kB / 0.9529 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.003511, allocations: 0.6042 MB / 0.9535 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.003567, allocations: 169.1 kB / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.003587, allocations: 80.75 kB / 0.9538 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.003612, allocations: 79.28 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.00364, allocations: 105.8 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.00364, allocations: 0 / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 4.629e-05/0.003687, allocations: 33.66 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.003726, allocations: 134.6 kB / 0.9541 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.003835, allocations: 169.1 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.003846, allocations: 25.7 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.003895, allocations: 108.1 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.003897, allocations: 0 / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.003919, allocations: 17.66 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.003986, allocations: 322.8 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.003996, allocations: 4 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.536e-05/0.004011, allocations: 22.58 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.216e-05/0.004043, allocations: 26.56 kB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004045, allocations: 4 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.551e-05/0.00413, allocations: 57.69 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.00414, allocations: 7.938 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004144, allocations: 3.984 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.004153, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.34e-05/0.004197, allocations: 11.98 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.004202, allocations: 3.938 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.004222, allocations: 11.89 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.004225, allocations: 0 / 0.9549 GB, free: 14.79 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 6.146e-05/0.004286, allocations: 189.1 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.00432, allocations: 113 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.004478, allocations: 120.7 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-05/0.004515, allocations: 184.3 kB / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.664e-05/0.004552, allocations: 188.2 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.593e-05/0.004588, allocations: 180.2 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.004722, allocations: 396.3 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/0.004742, allocations: 104.9 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.004765, allocations: 109 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.832e-05/0.004803, allocations: 180.2 kB / 0.9565 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.00484, allocations: 180.3 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.585e-05/0.004876, allocations: 184.3 kB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.874e-05/0.004914, allocations: 192.1 kB / 0.9571 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.945e-05/0.004994, allocations: 311.7 kB / 0.9574 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.005026, allocations: 112.9 kB / 0.9575 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.005067, allocations: 180.2 kB / 0.9576 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.005113, allocations: 105 kB / 0.9577 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.00515, allocations: 184.2 kB / 0.9579 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.005172, allocations: 104.9 kB / 0.958 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.005231, allocations: 127.2 kB / 0.9581 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005231, allocations: 0 / 0.9581 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001336/0.005365, allocations: 8 kB / 0.9581 GB, free: 11.21 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.0002228/0.005588, allocations: 0.8087 MB / 0.9589 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.15e-05/0.005639, allocations: 11.94 kB / 0.9589 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00564, allocations: 0 / 0.9589 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.005641, allocations: 0 / 0.9589 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.005867, allocations: 463.6 kB / 0.9594 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008813/0.006748, allocations: 1.648 MB / 0.961 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.546e-05/0.006794, allocations: 83.52 kB / 0.9611 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.58e-05/0.00681, allocations: 11.77 kB / 0.9611 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.006842, allocations: 20.5 kB / 0.9611 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of SimCode: time 2.8e-07/0.006842, allocations: 3.938 kB / 0.9611 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.02128, allocations: 2.358 MB / 0.9634 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.597/6.619, allocations: 4 kB / 0.9634 GB, free: 5.809 MB / 0.9167 GB " [Timeout remaining time 293] (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/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: 10.458103697746992]