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.001734/0.001734, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002159/0.002159, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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 2.985/2.985, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.001994/0.001994, allocations: 72.52 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3307, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002657/0.3333, allocations: 1.545 MB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001151/0.3334, allocations: 31.91 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.3335, allocations: 3.938 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.3336, allocations: 11.92 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.351e-05/0.3336, allocations: 3.938 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.3337, allocations: 19.98 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.3338, allocations: 47.77 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.334, allocations: 28.2 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.334, allocations: 19.92 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.3341, allocations: 27.84 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3341, allocations: 4 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.3341, allocations: 12 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.3341, allocations: 15.98 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.3342, allocations: 23.86 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.3343, allocations: 59.69 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3343, allocations: 0 / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3343, allocations: 0 / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.3343, allocations: 3.984 kB / 1.365 GB, free: 12.23 MB / 1.061 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.0003717/0.3347, allocations: 278.2 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3347, allocations: 12.03 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.3348, allocations: 42.67 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.3348, allocations: 12.89 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.3349, allocations: 126.5 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.335, allocations: 4.375 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.335, allocations: 8.375 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3351, allocations: 104.7 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3351, allocations: 3.938 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3351, allocations: 8 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3352, allocations: 3.938 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.896e-05/0.3352, allocations: 39.98 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.3358, allocations: 0.608 MB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.988e-05/0.3359, allocations: 165.1 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.3359, allocations: 84.14 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.336, allocations: 79.27 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.336, allocations: 105.8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.336, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.359e-05/0.3361, allocations: 41.53 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.3362, allocations: 126.7 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3363, allocations: 181.4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.3363, allocations: 25.7 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.3364, allocations: 100.1 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.3364, allocations: 4 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.3365, allocations: 17.72 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3366, allocations: 318.8 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.3366, allocations: 4 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.547e-05/0.3366, allocations: 22.58 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/0.3367, allocations: 30.55 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3367, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001189/0.3368, allocations: 65.58 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3368, allocations: 4 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3368, allocations: 3.938 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3368, allocations: 4 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.3369, allocations: 4 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3369, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.3369, allocations: 11.89 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.3369, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 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.000111/0.337, allocations: 197.1 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.3371, allocations: 113 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.3372, allocations: 120.7 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.317e-05/0.3372, allocations: 185.3 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.047e-05/0.3373, allocations: 176.3 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.227e-05/0.3374, allocations: 180.3 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.3376, allocations: 392.2 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.395e-05/0.3377, allocations: 105 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.3377, allocations: 108.9 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-05/0.3378, allocations: 180.3 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.3379, allocations: 184.2 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.717e-05/0.3379, allocations: 184.3 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.928e-05/0.338, allocations: 188.2 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3382, allocations: 315.7 kB / 1.37 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.3382, allocations: 116.9 kB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.3383, allocations: 188.1 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.3384, allocations: 105 kB / 1.371 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.3385, allocations: 184.2 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.3385, allocations: 101 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001037/0.3386, allocations: 129.5 kB / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3386, allocations: 0 / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002081/0.3388, allocations: 8 kB / 1.371 GB, free: 5.805 MB / 1.061 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.0004495/0.3393, allocations: 0.8164 MB / 1.372 GB, free: 4.961 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.051e-05/0.3394, allocations: 12 kB / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3394, allocations: 0 / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.3394, allocations: 3.938 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3397, allocations: 459.7 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3412, allocations: 1.633 MB / 1.374 GB, free: 2.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.327e-05/0.3413, allocations: 83.52 kB / 1.374 GB, free: 2.668 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.751e-05/0.3413, allocations: 4 kB / 1.374 GB, free: 2.664 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.3413, allocations: 23.42 kB / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3413, allocations: 0 / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.3682, allocations: 2.203 MB / 1.376 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.97, allocations: 15.62 kB / 1.376 GB, free: 0.5586 MB / 1.061 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.248114337213337]