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.001716/0.001716, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.002163/0.002163, allocations: 213.5 kB / 23.04 MB, free: 5.074 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.984 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 3.029/3.029, allocations: 0.49 GB / 0.7959 GB, free: 33.46 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="cs",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.001869/0.001869, allocations: 67.8 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3202, allocations: 176.1 MB / 1.327 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002762/0.3229, allocations: 1.569 MB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001054/0.323, allocations: 27.91 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.3231, allocations: 3.938 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3232, allocations: 7.938 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.3233, allocations: 15.86 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.3234, allocations: 11.98 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3235, allocations: 47.84 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3236, allocations: 24.2 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.3236, allocations: 23.92 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.3237, allocations: 31.83 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3237, allocations: 8 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.3237, allocations: 4 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.3238, allocations: 23.92 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.3238, allocations: 27.86 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.3239, allocations: 51.7 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3239, allocations: 4 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3239, allocations: 0 / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3239, allocations: 0 / 1.328 GB, free: 76 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.0004065/0.3243, allocations: 286.1 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3244, allocations: 15.97 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.392e-05/0.3244, allocations: 4.188 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.3244, allocations: 46.72 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.3245, allocations: 8.891 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.3246, allocations: 130.4 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.3246, allocations: 384 / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.3246, allocations: 12.38 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3248, allocations: 104.5 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3248, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3248, allocations: 7.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3248, allocations: 4 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.258e-05/0.3249, allocations: 39.98 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.3255, allocations: 0.6119 MB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.233e-05/0.3256, allocations: 165.1 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.3257, allocations: 80.14 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.3257, allocations: 75.28 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.3258, allocations: 109.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3258, allocations: 4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.46e-05/0.3258, allocations: 41.53 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.3259, allocations: 126.7 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3261, allocations: 169.3 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3261, allocations: 33.69 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.3262, allocations: 100.1 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.3262, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.3262, allocations: 13.67 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3263, allocations: 326.8 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.3263, allocations: 4 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.3264, allocations: 26.56 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.3264, allocations: 30.55 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3264, allocations: 4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001165/0.3265, allocations: 53.59 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3266, allocations: 11.94 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3266, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3266, allocations: 3.984 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.3266, allocations: 8 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3266, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.3267, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.3267, allocations: 4 kB / 1.331 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.0001143/0.3268, allocations: 201.6 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.3269, allocations: 116.9 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.624e-05/0.3269, allocations: 112.8 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.213e-05/0.327, allocations: 184.1 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.482e-05/0.3271, allocations: 176.3 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.229e-05/0.3272, allocations: 192.2 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.3274, allocations: 388.3 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.028e-05/0.3275, allocations: 108.9 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.3275, allocations: 112.9 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.135e-05/0.3276, allocations: 180.2 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/0.3277, allocations: 180.2 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-05/0.3278, allocations: 180.5 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.289e-05/0.3278, allocations: 180.3 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.328, allocations: 315.7 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.3281, allocations: 116.9 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.531e-05/0.3281, allocations: 192.2 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.3282, allocations: 101 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.3283, allocations: 188.3 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.3284, allocations: 101 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3285, allocations: 129.3 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3285, allocations: 0 / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002074/0.3287, allocations: 4 kB / 1.334 GB, free: 9.625 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.0004931/0.3292, allocations: 0.8203 MB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.965e-05/0.3292, allocations: 4 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3292, allocations: 0 / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.3292, allocations: 8.125 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3296, allocations: 459.7 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3311, allocations: 1.642 MB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3315, allocations: 0.6924 MB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.3315, allocations: 7.984 kB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.3315, allocations: 15.44 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3315, allocations: 0 / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.3517, allocations: 1.854 MB / 1.34 GB, free: 4.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.96, allocations: 14.33 kB / 1.34 GB, free: 4.121 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/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.43620821501827]