Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001614/0.001614, 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.001915/0.001915, allocations: 215.2 kB / 22.25 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.09/3.09, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_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.001914/0.001914, allocations: 67.77 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3319, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002759/0.3346, allocations: 1.576 MB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001166/0.3347, allocations: 31.84 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.3348, allocations: 4 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.3349, allocations: 11.86 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.415e-05/0.3349, allocations: 7.938 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.3351, allocations: 19.97 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.3352, allocations: 47.84 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3353, allocations: 24.2 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.3353, allocations: 19.92 kB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.3354, allocations: 35.84 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3354, allocations: 7.984 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.3354, allocations: 4 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.3355, allocations: 15.92 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.3355, allocations: 23.88 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.3356, allocations: 67.62 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3356, allocations: 0 / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3356, allocations: 0 / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3356, allocations: 0 / 1.355 GB, free: 6.547 MB / 1.045 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.0004024/0.336, allocations: 286.2 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3361, allocations: 8.031 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.3361, allocations: 38.75 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.3362, allocations: 4.891 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.3363, allocations: 138.3 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3363, allocations: 8.375 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3364, allocations: 8.312 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3365, allocations: 102.3 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3365, allocations: 3.938 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.3365, allocations: 0 / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3365, allocations: 4 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.709e-05/0.3366, allocations: 47.91 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.3372, allocations: 0.6042 MB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.052e-05/0.3373, allocations: 165.1 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.3374, allocations: 88.08 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3374, allocations: 83.22 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.3374, allocations: 109.8 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3374, allocations: 0 / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.627e-05/0.3375, allocations: 37.59 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.3376, allocations: 126.7 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.3378, allocations: 164.9 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3378, allocations: 25.7 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.3379, allocations: 120 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.3379, allocations: 0 / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.3379, allocations: 9.719 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.338, allocations: 322.8 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.338, allocations: 8 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.3381, allocations: 22.52 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.3381, allocations: 30.61 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3381, allocations: 0 / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001221/0.3382, allocations: 57.58 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3382, allocations: 8 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3382, allocations: 3.938 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3383, allocations: 0 / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.3383, allocations: 12.03 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3383, allocations: 4 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.3384, allocations: 4.047 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.3384, allocations: 8 kB / 1.357 GB, free: 3.691 MB / 1.045 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.0001151/0.3385, allocations: 197 kB / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.3386, allocations: 116.9 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.3386, allocations: 120.7 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-05/0.3387, allocations: 180.3 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.402e-05/0.3388, allocations: 180.2 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.687e-05/0.3388, allocations: 180.3 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.3391, allocations: 396.3 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/0.3391, allocations: 105.5 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.3392, allocations: 105 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.057e-05/0.3392, allocations: 188.2 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/0.3393, allocations: 184.1 kB / 1.359 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.846e-05/0.3394, allocations: 180.5 kB / 1.359 GB, free: 1.469 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.38e-05/0.3394, allocations: 184.2 kB / 1.359 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.3396, allocations: 319.7 kB / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.3397, allocations: 116.9 kB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-05/0.3397, allocations: 184.2 kB / 1.36 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.3398, allocations: 104.9 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.3399, allocations: 180.3 kB / 1.36 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.34, allocations: 112.9 kB / 1.36 GB, free: 232 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3401, allocations: 128.7 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3401, allocations: 0 / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002061/0.3403, allocations: 4 kB / 1.361 GB, free: 100 kB / 1.045 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.0004616/0.3407, allocations: 0.8126 MB / 1.361 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.505e-05/0.3408, allocations: 15.94 kB / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3408, allocations: 0 / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.3408, allocations: 0 / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3412, allocations: 461.6 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3426, allocations: 1.627 MB / 1.363 GB, free: 13.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3429, allocations: 0.6924 MB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.343, allocations: 4 kB / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.343, allocations: 27.42 kB / 1.364 GB, free: 12.32 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.343, allocations: 4 kB / 1.364 GB, free: 12.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.3708, allocations: 1.809 MB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.81, allocations: 7.047 kB / 1.366 GB, free: 10.64 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.208980249939486]