Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_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.01006/0.01006, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.002071/0.002071, allocations: 193.2 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.165/2.165, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.663/2.663, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 62.44 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4968, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.747/2.244, allocations: 213.6 MB / 1.296 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02301/2.267, allocations: 10.19 MB / 1.306 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003468/2.27, allocations: 39.19 kB / 1.306 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008418/2.279, allocations: 0.843 MB / 1.307 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02645/2.305, allocations: 2.893 MB / 1.31 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/2.316, allocations: 1.413 MB / 1.311 GB, free: 2.691 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01722/2.334, allocations: 3.17 MB / 1.314 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003345/2.337, allocations: 1.027 MB / 1.315 GB, free: 2.574 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00887/2.346, allocations: 1.15 MB / 1.316 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004716/2.351, allocations: 1.073 MB / 1.317 GB, free: 2.547 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008598/2.352, allocations: 121 kB / 1.317 GB, free: 2.547 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01607/2.368, allocations: 2.728 MB / 1.32 GB, free: 2.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001739/2.37, allocations: 0.4977 MB / 1.321 GB, free: 2.469 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003498/2.373, allocations: 0.7211 MB / 1.321 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01303/2.386, allocations: 2.81 MB / 1.324 GB, free: 1.984 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/2.386, allocations: 0 / 1.324 GB, free: 1.984 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.465e-06/2.386, allocations: 0 / 1.324 GB, free: 1.984 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.676e-05/2.386, allocations: 2.406 kB / 1.324 GB, free: 1.984 MB / 1.014 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.009402/2.396, allocations: 1.796 MB / 1.326 GB, free: 1.109 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.329e-05/2.396, allocations: 13.25 kB / 1.326 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00072/2.397, allocations: 151.7 kB / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/2.402, allocations: 427.3 kB / 1.326 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/2.406, allocations: 0.8883 MB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/2.407, allocations: 70.34 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005955/2.407, allocations: 102.5 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00481/2.412, allocations: 1.198 MB / 1.329 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-05/2.412, allocations: 4.656 kB / 1.329 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002889/2.413, allocations: 38.59 kB / 1.329 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/2.413, allocations: 53.11 kB / 1.329 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003654/2.416, allocations: 1.069 MB / 1.33 GB, free: 0.5195 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.01144/2.428, allocations: 4.759 MB / 1.334 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/2.43, allocations: 0.9953 MB / 1.335 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/2.432, allocations: 0.5945 MB / 1.336 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/2.433, allocations: 0.6773 MB / 1.337 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/2.433, allocations: 44.44 kB / 1.337 GB, free: 12.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 5.801e-06/2.433, allocations: 2.688 kB / 1.337 GB, free: 12.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=83): time 0.007071/2.44, allocations: 2.295 MB / 1.339 GB, free: 12.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/2.441, allocations: 64.41 kB / 1.339 GB, free: 12.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/2.442, allocations: 0.6352 MB / 1.34 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/2.442, allocations: 46.55 kB / 1.34 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/2.442, allocations: 456.5 kB / 1.34 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/2.443, allocations: 290.3 kB / 1.34 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/2.443, allocations: 133.3 kB / 1.34 GB, free: 11.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002367/2.443, allocations: 400.8 kB / 1.341 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008764/2.444, allocations: 323.8 kB / 1.341 GB, free: 11.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009458/2.445, allocations: 427.4 kB / 1.342 GB, free: 10.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/2.447, allocations: 0.782 MB / 1.342 GB, free: 10.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/2.447, allocations: 2.344 kB / 1.342 GB, free: 10.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002655/2.45, allocations: 0.9482 MB / 1.343 GB, free: 10.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/2.45, allocations: 4.812 kB / 1.343 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/2.45, allocations: 1.875 kB / 1.343 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003905/2.45, allocations: 62.45 kB / 1.343 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/2.452, allocations: 151.6 kB / 1.343 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007732/2.452, allocations: 0.6247 MB / 1.344 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/2.454, allocations: 28.06 kB / 1.344 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/2.454, allocations: 29.88 kB / 1.344 GB, free: 9.512 MB / 1.029 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.0008195/2.455, allocations: 301.1 kB / 1.344 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/2.455, allocations: 87.09 kB / 1.344 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/2.458, allocations: 0.9295 MB / 1.345 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/2.458, allocations: 7.75 kB / 1.345 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/2.458, allocations: 3.594 kB / 1.345 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001973/2.46, allocations: 0.9262 MB / 1.346 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005565/2.465, allocations: 2.112 MB / 1.348 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/2.465, allocations: 3.938 kB / 1.348 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/2.467, allocations: 195.2 kB / 1.349 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/2.467, allocations: 4.25 kB / 1.349 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/2.467, allocations: 16.97 kB / 1.349 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/2.467, allocations: 6.031 kB / 1.349 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.467, allocations: 2.672 kB / 1.349 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/2.471, allocations: 1.385 MB / 1.35 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/2.472, allocations: 250.5 kB / 1.35 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/2.472, allocations: 16.5 kB / 1.35 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/2.473, allocations: 23.12 kB / 1.35 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/2.474, allocations: 60.17 kB / 1.35 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/2.474, allocations: 28.66 kB / 1.35 GB, free: 6.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009752/2.475, allocations: 452.2 kB / 1.351 GB, free: 6.238 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.51e-07/2.475, allocations: 0.7188 kB / 1.351 GB, free: 6.238 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001824/2.477, allocations: 326.6 kB / 1.351 GB, free: 6.203 MB / 1.029 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.004176/2.481, allocations: 2.048 MB / 1.353 GB, free: 4.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002283/2.483, allocations: 0.8097 MB / 1.354 GB, free: 4.719 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/2.483, allocations: 0 / 1.354 GB, free: 4.719 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/2.484, allocations: 440.4 kB / 1.354 GB, free: 4.582 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005169/2.489, allocations: 0.6056 MB / 1.355 GB, free: 4.387 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/2.509, allocations: 7.517 MB / 1.362 GB, free: 484 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/2.51, allocations: 1.123 MB / 1.363 GB, free: 15.72 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001833/2.512, allocations: 250.9 kB / 1.364 GB, free: 15.66 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/2.513, allocations: 390.1 kB / 1.364 GB, free: 15.38 MB / 1.045 GB Notification: Performance of SimCode: time 1.322e-06/2.513, allocations: 3.938 kB / 1.364 GB, free: 15.37 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2066/2.72, allocations: 28.54 MB / 1.392 GB, free: 14.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.87/30.59, allocations: 8 kB / 1.392 GB, free: 14.89 MB / 1.061 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches