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.0007868/0.0007868, 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.000837/0.000837, allocations: 165.9 kB / 22.45 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.8223/0.8223, allocations: 177.1 MB / 202.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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 1.64/1.64, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.286e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001541/0.001553, allocations: 1.533 MB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.069e-05/0.001644, allocations: 31.84 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.001686, allocations: 4 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.606e-05/0.001782, allocations: 11.86 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.958e-05/0.001812, allocations: 7.875 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.001912, allocations: 27.97 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.001987, allocations: 43.84 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.002102, allocations: 27.95 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.85e-05/0.00214, allocations: 27.92 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.002191, allocations: 19.97 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.002211, allocations: 4 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-06/0.002218, allocations: 4 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.002255, allocations: 19.92 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.002282, allocations: 23.91 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.15e-05/0.002364, allocations: 59.73 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.002365, allocations: 4 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002366, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.002369, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 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.0002821/0.002651, allocations: 286.1 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.002686, allocations: 12.75 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.002713, allocations: 34.75 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.002732, allocations: 8.891 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.00285, allocations: 133.6 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.002859, allocations: 8.312 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.002868, allocations: 4.375 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.002981, allocations: 109.6 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.002988, allocations: 4.188 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.002996, allocations: 384 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.003001, allocations: 8.125 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.965e-05/0.003061, allocations: 47.91 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.003687, allocations: 0.5964 MB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.003752, allocations: 169.1 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.003773, allocations: 80.14 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.003791, allocations: 83.22 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.00382, allocations: 105.8 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.003821, allocations: 4 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.03e-05/0.003871, allocations: 33.66 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.003911, allocations: 130.6 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.004031, allocations: 165.8 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.004038, allocations: 29.7 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.004085, allocations: 104.1 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.004089, allocations: 3.984 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.004112, allocations: 17.67 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.004178, allocations: 322.8 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.004188, allocations: 4 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.004204, allocations: 22.52 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.004235, allocations: 38.5 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004237, allocations: 0 / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.323e-05/0.00432, allocations: 57.59 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.004331, allocations: 4 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.004335, allocations: 0 / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.004345, allocations: 4 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.564e-05/0.00439, allocations: 12.02 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.004396, allocations: 11.92 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.004415, allocations: 7.938 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.004418, allocations: 0 / 1.004 GB, free: 8.801 MB / 0.9636 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.311e-05/0.004481, allocations: 193.1 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.004514, allocations: 108.9 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.004546, allocations: 116.7 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/0.004583, allocations: 180.3 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.759e-05/0.004621, allocations: 188.2 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/0.004656, allocations: 180.2 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.004791, allocations: 392.3 kB / 1.005 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/0.004813, allocations: 108.9 kB / 1.005 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.004834, allocations: 109 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.41e-05/0.004868, allocations: 176.3 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.004907, allocations: 184.2 kB / 1.006 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.345e-05/0.00494, allocations: 180.3 kB / 1.006 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.421e-05/0.004974, allocations: 184.1 kB / 1.006 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.096e-05/0.005055, allocations: 315.7 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.005086, allocations: 108.9 kB / 1.007 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.005131, allocations: 184.2 kB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.535e-05/0.005176, allocations: 104.9 kB / 1.007 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.005216, allocations: 192.2 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.005237, allocations: 104.9 kB / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.005298, allocations: 129.5 kB / 1.007 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005298, allocations: 0 / 1.007 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001334/0.005431, allocations: 8 kB / 1.007 GB, free: 5.23 MB / 0.9636 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.0002226/0.005654, allocations: 0.8009 MB / 1.008 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.46e-05/0.005709, allocations: 15.94 kB / 1.008 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.00571, allocations: 0 / 1.008 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.005711, allocations: 192 / 1.008 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.005941, allocations: 471.7 kB / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.007046, allocations: 1.65 MB / 1.01 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.00709, allocations: 79.5 kB / 1.01 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.327e-05/0.007104, allocations: 4 kB / 1.01 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.007135, allocations: 16.5 kB / 1.01 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.007136, allocations: 3.938 kB / 1.01 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.01968, allocations: 2.37 MB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.102/6.122, allocations: 5.719 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB " [Timeout remaining time 294] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/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: 9.928201515227556]