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.001826/0.001826, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002394/0.002394, allocations: 216 kB / 22.25 MB, free: 5.105 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 7.812 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.93/2.93, allocations: 0.49 GB / 0.7951 GB, free: 35.58 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.001963/0.001963, allocations: 66.55 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3254, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002753/0.3282, allocations: 1.536 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001238/0.3283, allocations: 35.84 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.3284, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.3285, allocations: 7.875 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.802e-05/0.3285, allocations: 11.92 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.3286, allocations: 11.98 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.985e-05/0.3287, allocations: 47.84 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3289, allocations: 28.19 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.3289, allocations: 23.92 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.329, allocations: 39.78 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.329, allocations: 4 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-06/0.329, allocations: 4 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.3291, allocations: 15.98 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.3291, allocations: 23.86 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.3292, allocations: 59.69 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3292, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3292, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3292, allocations: 0 / 1.328 GB, free: 15.62 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.000396/0.3296, allocations: 282.2 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3297, allocations: 12.03 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.3297, allocations: 46.73 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.3297, allocations: 8.891 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3299, allocations: 138.3 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3299, allocations: 4.375 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3299, allocations: 4.375 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3301, allocations: 102.6 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3301, allocations: 3.938 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3301, allocations: 11.88 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3301, allocations: 0 / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.3302, allocations: 43.92 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.3308, allocations: 0.6003 MB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.736e-05/0.3309, allocations: 169.1 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.3309, allocations: 80.14 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.331, allocations: 79.28 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.331, allocations: 105.8 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.331, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.484e-05/0.3311, allocations: 41.58 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.3312, allocations: 130.7 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3313, allocations: 172.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3314, allocations: 25.7 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.3314, allocations: 116 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.3314, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.3315, allocations: 17.72 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3316, allocations: 318.8 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.3316, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.3316, allocations: 22.58 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.313e-05/0.3317, allocations: 34.55 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3317, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001231/0.3318, allocations: 61.58 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3318, allocations: 4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3318, allocations: 3.938 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3319, allocations: 4 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.3319, allocations: 4 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3319, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.332, allocations: 11.89 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.332, allocations: 0 / 1.33 GB, free: 12.77 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.0001212/0.3321, allocations: 193.6 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.3321, allocations: 117 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.3322, allocations: 120.7 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.237e-05/0.3323, allocations: 180.3 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-05/0.3324, allocations: 180.2 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.459e-05/0.3324, allocations: 176.3 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.3327, allocations: 396.2 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.064e-05/0.3327, allocations: 104.9 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.3328, allocations: 105 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.313e-05/0.3329, allocations: 180.2 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/0.3329, allocations: 184.2 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.127e-05/0.333, allocations: 196.4 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.368e-05/0.3331, allocations: 176.3 kB / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3332, allocations: 315.7 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.3333, allocations: 116.9 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.376e-05/0.3334, allocations: 188.1 kB / 1.333 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.3335, allocations: 105 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.3336, allocations: 176.4 kB / 1.333 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.3336, allocations: 112.9 kB / 1.333 GB, free: 9.309 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001043/0.3337, allocations: 125.1 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3337, allocations: 0 / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002097/0.3339, allocations: 8 kB / 1.334 GB, free: 9.18 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.0004567/0.3344, allocations: 0.8204 MB / 1.334 GB, free: 8.332 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.274e-05/0.3345, allocations: 11.94 kB / 1.334 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3345, allocations: 0 / 1.334 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3345, allocations: 0 / 1.334 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.3349, allocations: 461.1 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3364, allocations: 1.629 MB / 1.336 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.809e-05/0.3364, allocations: 87.44 kB / 1.336 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.3364, allocations: 4 kB / 1.336 GB, free: 6.035 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.3365, allocations: 23.42 kB / 1.336 GB, free: 6.012 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3365, allocations: 0 / 1.336 GB, free: 6.012 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.3641, allocations: 2.244 MB / 1.339 GB, free: 3.906 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.9, allocations: 14.39 kB / 1.339 GB, free: 3.895 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.038517572014825]