Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002296/0.002296, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.895/1.895, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.299/3.299, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.53 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4197, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.232/1.651, allocations: 211 MB / 1.258 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01511/1.667, allocations: 10.15 MB / 1.268 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/1.669, allocations: 35.62 kB / 1.268 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002502/1.671, allocations: 0.7486 MB / 1.269 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009696/1.681, allocations: 2.728 MB / 1.272 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005194/1.686, allocations: 1.296 MB / 1.273 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008019/1.694, allocations: 3.16 MB / 1.276 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/1.697, allocations: 1.013 MB / 1.277 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/1.701, allocations: 1.146 MB / 1.278 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005452/1.707, allocations: 1.148 MB / 1.279 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009971/1.708, allocations: 120.9 kB / 1.279 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/1.718, allocations: 2.855 MB / 1.282 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001664/1.72, allocations: 0.4932 MB / 1.283 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003508/1.724, allocations: 0.7254 MB / 1.283 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/1.735, allocations: 2.988 MB / 1.286 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/1.736, allocations: 1.719 kB / 1.286 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.604e-06/1.736, allocations: 1.641 kB / 1.286 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001035/1.736, allocations: 0 / 1.286 GB, free: 2.016 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.008816/1.745, allocations: 1.791 MB / 1.288 GB, free: 17.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.006e-05/1.745, allocations: 11.34 kB / 1.288 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006721/1.745, allocations: 154.6 kB / 1.288 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/1.749, allocations: 427.9 kB / 1.289 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/1.752, allocations: 0.8542 MB / 1.289 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.565e-05/1.752, allocations: 73.22 kB / 1.29 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/1.753, allocations: 94.53 kB / 1.29 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/1.756, allocations: 1.195 MB / 1.291 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/1.756, allocations: 4.844 kB / 1.291 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/1.756, allocations: 41.09 kB / 1.291 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.757, allocations: 57.25 kB / 1.291 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002842/1.759, allocations: 1.076 MB / 1.292 GB, free: 16.57 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008657/1.768, allocations: 4.731 MB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/1.77, allocations: 0.9943 MB / 1.298 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/1.771, allocations: 0.5652 MB / 1.298 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007936/1.772, allocations: 0.674 MB / 1.299 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.236e-05/1.772, allocations: 46.95 kB / 1.299 GB, free: 12.86 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.897e-06/1.772, allocations: 1 kB / 1.299 GB, free: 12.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.00671/1.779, allocations: 2.297 MB / 1.301 GB, free: 12.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.793e-05/1.779, allocations: 61.47 kB / 1.301 GB, free: 12.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.781, allocations: 0.6401 MB / 1.302 GB, free: 12.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/1.781, allocations: 42.27 kB / 1.302 GB, free: 12.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/1.781, allocations: 456.6 kB / 1.302 GB, free: 11.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/1.781, allocations: 294 kB / 1.303 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/1.782, allocations: 138.6 kB / 1.303 GB, free: 11.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002447/1.782, allocations: 391.3 kB / 1.303 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006394/1.783, allocations: 321.1 kB / 1.303 GB, free: 11.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/1.783, allocations: 428.5 kB / 1.304 GB, free: 11.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/1.785, allocations: 0.7821 MB / 1.304 GB, free: 11.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/1.785, allocations: 3.406 kB / 1.304 GB, free: 11.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001861/1.787, allocations: 0.9497 MB / 1.305 GB, free: 11.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.787, allocations: 6.469 kB / 1.305 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.787, allocations: 2.469 kB / 1.305 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003242/1.787, allocations: 59.16 kB / 1.305 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/1.788, allocations: 158.2 kB / 1.306 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005751/1.788, allocations: 0.6112 MB / 1.306 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.79, allocations: 101 kB / 1.306 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/1.79, allocations: 27.38 kB / 1.306 GB, free: 10.62 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006939/1.791, allocations: 308.7 kB / 1.307 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/1.791, allocations: 91.41 kB / 1.307 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/1.793, allocations: 0.9304 MB / 1.308 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/1.793, allocations: 10.75 kB / 1.308 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.793, allocations: 4.891 kB / 1.308 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001505/1.795, allocations: 0.9276 MB / 1.309 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004117/1.799, allocations: 2.109 MB / 1.311 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.799, allocations: 0 / 1.311 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009614/1.8, allocations: 197.5 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/1.8, allocations: 7.219 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.177e-05/1.8, allocations: 18.06 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/1.8, allocations: 2.094 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.8, allocations: 0 / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/1.802, allocations: 1.394 MB / 1.312 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007727/1.803, allocations: 251.4 kB / 1.312 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/1.803, allocations: 12.59 kB / 1.312 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.804, allocations: 85.12 kB / 1.313 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/1.804, allocations: 56.33 kB / 1.313 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/1.805, allocations: 35.72 kB / 1.313 GB, free: 9.406 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007362/1.805, allocations: 456.7 kB / 1.313 GB, free: 9.316 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.805, allocations: 0 / 1.313 GB, free: 9.316 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001496/1.807, allocations: 323.1 kB / 1.313 GB, free: 9.312 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.002948/1.81, allocations: 2.043 MB / 1.315 GB, free: 8.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002137/1.812, allocations: 1 MB / 1.316 GB, free: 8.535 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.812, allocations: 0 / 1.316 GB, free: 8.535 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000672/1.813, allocations: 440.5 kB / 1.317 GB, free: 8.531 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/1.816, allocations: 0.5975 MB / 1.317 GB, free: 8.445 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.832, allocations: 8.194 MB / 1.325 GB, free: 5.223 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.833, allocations: 1.129 MB / 1.326 GB, free: 4.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001465/1.834, allocations: 248.2 kB / 1.327 GB, free: 4.438 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007333/1.835, allocations: 387.8 kB / 1.327 GB, free: 4.43 MB / 1.014 GB Notification: Performance of SimCode: time 1.193e-06/1.835, allocations: 0 / 1.327 GB, free: 4.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/1.893, allocations: 27.6 MB / 1.354 GB, free: 12.2 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/1.894, allocations: 229 kB / 1.354 GB, free: 11.94 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/4.601, allocations: 0 / 1.354 GB, free: 11.94 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches