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.001393/0.001393, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001454/0.001454, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] 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.489/2.489, allocations: 476.7 MB / 0.7628 GB, free: 15.29 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.001823/0.001823, allocations: 67.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7884/0.7902, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00222/0.7924, allocations: 1.579 MB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.329e-05/0.7925, allocations: 30.53 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.7926, allocations: 2.406 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.924e-05/0.7927, allocations: 8.453 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.946e-05/0.7927, allocations: 5.203 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.978e-05/0.7928, allocations: 22.53 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.904e-05/0.7929, allocations: 46.45 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.793, allocations: 27 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.793, allocations: 20.42 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.7931, allocations: 36.58 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.7931, allocations: 4.531 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.7931, allocations: 4.719 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.7932, allocations: 18.28 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.7932, allocations: 23.64 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.471e-05/0.7933, allocations: 63.23 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.7933, allocations: 0.75 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7933, allocations: 0 / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.7933, allocations: 0.7188 kB / 1.273 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.0002811/0.7936, allocations: 367 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.7936, allocations: 9.375 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.7936, allocations: 43.52 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.7937, allocations: 8.422 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.7938, allocations: 180.9 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.7938, allocations: 7.344 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.7938, allocations: 5.422 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.7939, allocations: 97.91 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.7939, allocations: 8.688 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.794, allocations: 5.531 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.794, allocations: 1.75 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/0.794, allocations: 40.69 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.7944, allocations: 0.639 MB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.61e-05/0.7944, allocations: 174 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.7944, allocations: 81.02 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.7945, allocations: 75.28 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.7945, allocations: 110.7 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.7945, allocations: 0.8125 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.701e-05/0.7945, allocations: 50.27 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.7946, allocations: 128.5 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.7947, allocations: 173.3 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-06/0.7947, allocations: 25.7 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.7947, allocations: 106.4 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.7947, allocations: 1.062 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.7948, allocations: 12.66 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.7948, allocations: 324.8 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.7948, allocations: 7.406 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.7948, allocations: 20.48 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.7948, allocations: 28.05 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7949, allocations: 4 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.552e-05/0.7949, allocations: 59.73 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.795, allocations: 5.938 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.795, allocations: 4.875 kB / 1.276 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.795, allocations: 0.9688 kB / 1.276 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.014e-05/0.795, allocations: 6.219 kB / 1.276 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.795, allocations: 5.016 kB / 1.276 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.7951, allocations: 10.14 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.7951, allocations: 1.844 kB / 1.276 GB, free: 3.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 4.972e-05/0.7951, allocations: 198.6 kB / 1.276 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.7952, allocations: 113.1 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.7952, allocations: 116.1 kB / 1.276 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.7952, allocations: 182.9 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.7952, allocations: 177.1 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.7952, allocations: 183.9 kB / 1.277 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.7954, allocations: 427.8 kB / 1.277 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.811e-05/0.7954, allocations: 107 kB / 1.277 GB, free: 18.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.7955, allocations: 106.5 kB / 1.277 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.459e-05/0.7956, allocations: 177.9 kB / 1.278 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.7956, allocations: 181.9 kB / 1.278 GB, free: 17.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.795e-05/0.7957, allocations: 185.8 kB / 1.278 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.891e-05/0.7958, allocations: 177.7 kB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.7959, allocations: 313.7 kB / 1.278 GB, free: 17.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.796, allocations: 190.6 kB / 1.279 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.7961, allocations: 193.1 kB / 1.279 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.7961, allocations: 109.4 kB / 1.279 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.7962, allocations: 181 kB / 1.279 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.7963, allocations: 101.9 kB / 1.279 GB, free: 16.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.276e-05/0.7963, allocations: 126.9 kB / 1.279 GB, free: 16.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7963, allocations: 0 / 1.279 GB, free: 16.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002035/0.7965, allocations: 6.656 kB / 1.279 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.0004051/0.797, allocations: 0.8276 MB / 1.28 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.343e-05/0.797, allocations: 7.5 kB / 1.28 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.797, allocations: 0 / 1.28 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.797, allocations: 4.906 kB / 1.28 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.7974, allocations: 466.2 kB / 1.281 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.7987, allocations: 1.635 MB / 1.282 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.7989, allocations: 0.6914 MB / 1.283 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.799, allocations: 4.359 kB / 1.283 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.799, allocations: 20.19 kB / 1.283 GB, free: 12.72 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.799, allocations: 0 / 1.283 GB, free: 12.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.8223, allocations: 1.689 MB / 1.285 GB, free: 12.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.737, allocations: 5.969 kB / 1.285 GB, free: 12.32 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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: 13.12069707599585]