Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001804/0.001804, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002313/0.002313, allocations: 215.8 kB / 22.26 MB, free: 5.082 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.919/2.919, allocations: 0.49 GB / 0.7951 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_12_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.001908/0.001908, allocations: 69.95 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3107, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002615/0.3134, allocations: 1.575 MB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.3135, allocations: 27.91 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.3135, allocations: 3.938 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.3136, allocations: 15.92 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.175e-05/0.3137, allocations: 3.938 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000104/0.3138, allocations: 23.97 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.3139, allocations: 51.77 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.314, allocations: 28.2 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.314, allocations: 19.92 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.3141, allocations: 27.84 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3141, allocations: 4 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.3141, allocations: 8 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.3142, allocations: 19.92 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.3142, allocations: 23.88 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3143, allocations: 59.67 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3143, allocations: 7.938 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3143, allocations: 0 / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3143, allocations: 0 / 1.328 GB, free: 64 kB / 1.014 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.0003946/0.3147, allocations: 290.1 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3148, allocations: 12.03 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.3148, allocations: 34.75 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.3148, allocations: 8.891 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.315, allocations: 126.4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.315, allocations: 4.375 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.315, allocations: 12.38 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3152, allocations: 103.4 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3152, allocations: 3.938 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3152, allocations: 4 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3152, allocations: 4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.3153, allocations: 35.97 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.3158, allocations: 0.6158 MB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.3159, allocations: 173.1 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.316, allocations: 80.14 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.316, allocations: 79.28 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.316, allocations: 109.8 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.316, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.786e-05/0.3161, allocations: 45.53 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.3162, allocations: 126.7 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3163, allocations: 164.1 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3164, allocations: 25.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.3164, allocations: 116 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.3164, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.3165, allocations: 13.72 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3166, allocations: 322.8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.3166, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.3166, allocations: 26.56 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.3167, allocations: 38.55 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3167, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001152/0.3168, allocations: 57.58 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3168, allocations: 5.562 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3168, allocations: 7.938 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3168, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.3169, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3169, allocations: 4.094 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.3169, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.3169, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 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.0001127/0.317, allocations: 205.5 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.3171, allocations: 112.9 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.3172, allocations: 116.7 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.44e-05/0.3172, allocations: 188.2 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.776e-05/0.3173, allocations: 176.3 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.977e-05/0.3174, allocations: 180.2 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.3176, allocations: 396.3 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.776e-05/0.3177, allocations: 101 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.3177, allocations: 112.9 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-05/0.3178, allocations: 180.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-05/0.3179, allocations: 192.1 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.972e-05/0.3179, allocations: 180.4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.99e-05/0.318, allocations: 176.3 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.3182, allocations: 319.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.3182, allocations: 116.9 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.3183, allocations: 184.2 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.3184, allocations: 105 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/0.3185, allocations: 180.2 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.3185, allocations: 109 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000106/0.3186, allocations: 129.1 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3186, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002079/0.3188, allocations: 8 kB / 1.334 GB, free: 9.617 MB / 1.029 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.0004293/0.3193, allocations: 0.8125 MB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.065e-05/0.3193, allocations: 12 kB / 1.334 GB, free: 8.766 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3193, allocations: 0 / 1.334 GB, free: 8.766 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/0.3193, allocations: 3.938 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.3197, allocations: 461.1 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3211, allocations: 1.636 MB / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3214, allocations: 0.6924 MB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.749e-05/0.3214, allocations: 4 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.3215, allocations: 23.42 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3215, allocations: 0 / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.3475, allocations: 1.814 MB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.41, allocations: 10.23 kB / 1.339 GB, free: 4.148 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.59106739300114]