Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor.q_flow|wes.q_flow|sou.q_flow|eas.q_flow|nor.dir",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed") translateModel(Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor.q_flow|wes.q_flow|sou.q_flow|eas.q_flow|nor.dir",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006248/0.006248, allocations: 97.64 kB / 15.73 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 192.4 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.856/2.856, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 56.12 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3489, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed): time 0.004464/0.3534, allocations: 2.715 MB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003128/0.3566, allocations: 1.776 MB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.3569, allocations: 7.938 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.3571, allocations: 43.52 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.3576, allocations: 150.8 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009513/0.3585, allocations: 381.4 kB / 1.213 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005742/0.3591, allocations: 490.5 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.3594, allocations: 149 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.3597, allocations: 191.3 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.3599, allocations: 179.2 kB / 1.214 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.3599, allocations: 28 kB / 1.214 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000683/0.3606, allocations: 455.4 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.3607, allocations: 71.7 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.3609, allocations: 195 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.3615, allocations: 0.5412 MB / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3615, allocations: 0 / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3615, allocations: 0 / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.3615, allocations: 0 / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001088/0.3626, allocations: 0.7092 MB / 1.216 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3627, allocations: 8.031 kB / 1.216 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008224/0.3635, allocations: 120.3 kB / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.364, allocations: 311.3 kB / 1.216 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.364, allocations: 25.03 kB / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.3641, allocations: 28.38 kB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.3648, allocations: 318.3 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3648, allocations: 3.938 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.3648, allocations: 16 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.3649, allocations: 8 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.3657, allocations: 290.3 kB / 1.217 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.3673, allocations: 0.8891 MB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/0.3682, allocations: 294.5 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.3686, allocations: 124.8 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.3687, allocations: 101.4 kB / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3688, allocations: 34.56 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.3688, allocations: 0 / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001295/0.3701, allocations: 380.9 kB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.3702, allocations: 59.39 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.3705, allocations: 341.6 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.3705, allocations: 33.7 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3707, allocations: 184.6 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.3708, allocations: 78.75 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3709, allocations: 69.86 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.371, allocations: 338.8 kB / 1.219 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.3714, allocations: 112.4 kB / 1.22 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.3718, allocations: 109 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/0.3725, allocations: 230.9 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3725, allocations: 0 / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009029/0.3734, allocations: 325.3 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3734, allocations: 13.56 kB / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3734, allocations: 0 / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3735, allocations: 3.984 kB / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.3739, allocations: 75.88 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3739, allocations: 7.938 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.3742, allocations: 43.58 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.3742, allocations: 11.98 kB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (33): * Single equations (assignments): 33 * 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.0001519/0.3744, allocations: 145.8 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3745, allocations: 35.62 kB / 1.221 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009988/0.3755, allocations: 367.9 kB / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3755, allocations: 4 kB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3755, allocations: 0 / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3756, allocations: 7.984 kB / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.3759, allocations: 357.2 kB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3759, allocations: 0 / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.3762, allocations: 63.94 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3762, allocations: 3.984 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.3763, allocations: 0 / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3763, allocations: 7.984 kB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3763, allocations: 0 / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/0.3771, allocations: 306.8 kB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3772, allocations: 132.6 kB / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.3773, allocations: 8 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.3775, allocations: 15.97 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.3776, allocations: 11.98 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.3776, allocations: 15.92 kB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000264/0.3779, allocations: 255.1 kB / 1.222 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3779, allocations: 0 / 1.222 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003792/0.3783, allocations: 103.8 kB / 1.222 GB, free: 10.53 MB / 0.9825 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 (21): * Single equations (assignments): 21 * 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.0002532/0.3785, allocations: 147.1 kB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008088/0.3794, allocations: 236 kB / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3794, allocations: 0 / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.3797, allocations: 115.9 kB / 1.223 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.3803, allocations: 117.7 kB / 1.223 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3816, allocations: 0.5746 MB / 1.223 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.382, allocations: 0.7756 MB / 1.224 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002632/0.3823, allocations: 70.83 kB / 1.224 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3824, allocations: 35.41 kB / 1.224 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3824, allocations: 0 / 1.224 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of Templates: time 0.01082/0.3932, allocations: 5.49 MB / 1.229 GB, free: 2.98 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.sim & ./Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Validation_ZeroWindSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Convection.Validation.ZeroWindSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches