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.001725/0.001725, allocations: 103.6 kB / 18.95 MB, free: 2.652 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.002239/0.002239, allocations: 217.6 kB / 22.25 MB, free: 5.266 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.789 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.969/2.969, allocations: 0.49 GB / 0.7951 GB, free: 35.59 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.00194/0.00194, allocations: 67.3 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3145, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002967/0.3175, allocations: 1.546 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001334/0.3176, allocations: 35.84 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.3176, allocations: 0 / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.3177, allocations: 15.86 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.656e-05/0.3178, allocations: 3.938 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.897e-05/0.3179, allocations: 19.98 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.962e-05/0.318, allocations: 39.84 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3181, allocations: 36.17 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.3181, allocations: 15.94 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.3182, allocations: 27.91 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3182, allocations: 8 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.3182, allocations: 8 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.3183, allocations: 15.92 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.3183, allocations: 27.86 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.3184, allocations: 63.61 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3184, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3184, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3185, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 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.0003939/0.3188, allocations: 290.2 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3189, allocations: 8.031 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.3189, allocations: 38.75 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.319, allocations: 12.89 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.3191, allocations: 130.4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3191, allocations: 4.375 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3192, allocations: 8.375 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3193, allocations: 92.8 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3193, allocations: 7.938 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.3193, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3193, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.456e-05/0.3194, allocations: 47.91 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.32, allocations: 0.5925 MB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.901e-05/0.3201, allocations: 181.1 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.3201, allocations: 88.02 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.3202, allocations: 75.28 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.3202, allocations: 109.8 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3202, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.04e-05/0.3203, allocations: 41.58 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.3204, allocations: 130.7 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.3206, allocations: 169.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.3206, allocations: 25.7 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.3206, allocations: 108 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.3206, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.3207, allocations: 13.72 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3208, allocations: 318.8 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.3208, allocations: 15.94 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.3209, allocations: 18.58 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.3209, allocations: 30.61 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3209, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001309/0.321, allocations: 61.64 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.321, allocations: 5.719 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3211, allocations: 7.938 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3211, allocations: 0 / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.641e-05/0.3211, allocations: 7.938 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3211, allocations: 3.984 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.3212, allocations: 15.88 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.3212, allocations: 0 / 1.33 GB, free: 12.79 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.0001118/0.3213, allocations: 193.7 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.3214, allocations: 108.9 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.3214, allocations: 128.7 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.058e-05/0.3215, allocations: 176.3 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.045e-05/0.3216, allocations: 180.2 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-05/0.3216, allocations: 180.3 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.3219, allocations: 392.3 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.305e-05/0.3219, allocations: 108.9 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.322, allocations: 101 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-05/0.3221, allocations: 188.2 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/0.3221, allocations: 184.2 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.756e-05/0.3222, allocations: 176.5 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.119e-05/0.3223, allocations: 184.1 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3224, allocations: 323.7 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3225, allocations: 108.9 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.471e-05/0.3226, allocations: 188.2 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3227, allocations: 112.9 kB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.3228, allocations: 180.2 kB / 1.333 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.3228, allocations: 104.9 kB / 1.333 GB, free: 9.332 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001028/0.3229, allocations: 129.1 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3229, allocations: 0 / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002146/0.3231, allocations: 8 kB / 1.334 GB, free: 9.199 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.0004469/0.3236, allocations: 0.8165 MB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.365e-05/0.3236, allocations: 7.938 kB / 1.334 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3236, allocations: 0 / 1.334 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-06/0.3236, allocations: 4 kB / 1.334 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.324, allocations: 459.7 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3255, allocations: 1.635 MB / 1.336 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.938e-05/0.3256, allocations: 71.33 kB / 1.336 GB, free: 6.074 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.86e-05/0.3256, allocations: 8.188 kB / 1.336 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.3256, allocations: 23.42 kB / 1.336 GB, free: 6.043 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3256, allocations: 0 / 1.336 GB, free: 6.043 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.3531, allocations: 2.25 MB / 1.339 GB, free: 3.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.85, allocations: 5.938 kB / 1.339 GB, free: 3.926 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: 17.147571457986487]