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.001543/0.001543, allocations: 116.1 kB / 17.17 MB, free: 6 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.001654/0.001654, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.43/1.43, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.774/2.774, allocations: 0.49 GB / 0.7923 GB, free: 1.301 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.001951/0.001951, allocations: 74.12 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9011/0.903, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002259/0.9053, allocations: 1.552 MB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001135/0.9054, allocations: 36.97 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.9054, allocations: 0 / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.9056, allocations: 14.09 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.325e-05/0.9056, allocations: 3.938 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.9057, allocations: 26.47 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.196e-05/0.9058, allocations: 41.44 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.9059, allocations: 26.19 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.598e-05/0.906, allocations: 26.5 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.906, allocations: 33.94 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.906, allocations: 2.844 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.906, allocations: 5.281 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.9061, allocations: 16.19 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.9061, allocations: 26.83 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.732e-05/0.9062, allocations: 69.95 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9062, allocations: 0 / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9062, allocations: 0 / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9062, allocations: 0 / 1.323 GB, free: 23.48 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.0003396/0.9066, allocations: 365.7 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.9066, allocations: 18.53 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.489e-05/0.9066, allocations: 4.188 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.9067, allocations: 37.75 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.9067, allocations: 10.48 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.9068, allocations: 181.4 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.9068, allocations: 7 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.9068, allocations: 5.938 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.907, allocations: 109 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.907, allocations: 0 / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.907, allocations: 0 / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.907, allocations: 6.594 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.9071, allocations: 44.33 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.9075, allocations: 0.6424 MB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.9075, allocations: 171.7 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.9075, allocations: 84.08 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.9075, allocations: 75.28 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.9076, allocations: 112.3 kB / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.9076, allocations: 0 / 1.325 GB, free: 21.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.075e-05/0.9076, allocations: 36.19 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.9077, allocations: 126.7 kB / 1.325 GB, free: 21.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.9078, allocations: 167.4 kB / 1.325 GB, free: 21.35 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-06/0.9078, allocations: 25.7 kB / 1.325 GB, free: 21.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.9078, allocations: 108.7 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.9078, allocations: 0 / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.9079, allocations: 20.66 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.539e-05/0.9079, allocations: 316.8 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.9079, allocations: 6.969 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.9079, allocations: 24.92 kB / 1.326 GB, free: 20.85 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.908, allocations: 27.95 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.908, allocations: 2.594 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001005/0.9081, allocations: 51.72 kB / 1.326 GB, free: 20.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.9081, allocations: 12.88 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.9081, allocations: 2.906 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.9081, allocations: 0 / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.9082, allocations: 13.12 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.9082, allocations: 0 / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.9082, allocations: 10.62 kB / 1.326 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.9082, allocations: 10.38 kB / 1.326 GB, free: 20.75 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 5.688e-05/0.9083, allocations: 190.2 kB / 1.326 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.9083, allocations: 115.7 kB / 1.326 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.9083, allocations: 116.5 kB / 1.326 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.9083, allocations: 179.1 kB / 1.327 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/0.9084, allocations: 184.2 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/0.9084, allocations: 180.3 kB / 1.327 GB, free: 19.78 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.9085, allocations: 422.6 kB / 1.327 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.9085, allocations: 108.4 kB / 1.327 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.9086, allocations: 109 kB / 1.328 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.19e-05/0.9086, allocations: 190.9 kB / 1.328 GB, free: 18.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.9086, allocations: 180.3 kB / 1.328 GB, free: 18.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.161e-05/0.9086, allocations: 176.3 kB / 1.328 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.22e-05/0.9086, allocations: 190.7 kB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.104e-05/0.9087, allocations: 305.3 kB / 1.329 GB, free: 18.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.9087, allocations: 195.9 kB / 1.329 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.9088, allocations: 186.8 kB / 1.329 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.9088, allocations: 104.9 kB / 1.329 GB, free: 17.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.9089, allocations: 179.6 kB / 1.329 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.9089, allocations: 107.6 kB / 1.329 GB, free: 17.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.832e-05/0.909, allocations: 124.2 kB / 1.329 GB, free: 17.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.909, allocations: 4 kB / 1.329 GB, free: 17.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002071/0.9092, allocations: 5.594 kB / 1.329 GB, free: 17.16 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.0002346/0.9094, allocations: 0.814 MB / 1.33 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.253e-05/0.9095, allocations: 18.94 kB / 1.33 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9095, allocations: 4.188 kB / 1.33 GB, free: 16.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.9095, allocations: 0 / 1.33 GB, free: 16.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.9097, allocations: 458.3 kB / 1.331 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.9107, allocations: 1.642 MB / 1.332 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.9109, allocations: 0.6913 MB / 1.333 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.9109, allocations: 5.125 kB / 1.333 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.9109, allocations: 25.03 kB / 1.333 GB, free: 13.71 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.9109, allocations: 0 / 1.333 GB, free: 13.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.9278, allocations: 1.75 MB / 1.335 GB, free: 13.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.865, allocations: 12.98 kB / 1.335 GB, free: 13.29 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.010447848006152]