Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_10_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.00488/0.00488, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001395/0.001395, allocations: 193.8 kB / 16.68 MB, free: 5.973 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 437.1 MB / 0.7106 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2447, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.6502/0.8949, allocations: 213.6 MB / 1.375 GB, free: 2.086 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.9079, allocations: 10.2 MB / 1.385 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.909, allocations: 39.25 kB / 1.385 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.9109, allocations: 0.8358 MB / 1.386 GB, free: 9.344 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005969/0.917, allocations: 2.894 MB / 1.388 GB, free: 7.129 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.9199, allocations: 1.414 MB / 1.39 GB, free: 6.043 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003154/0.923, allocations: 3.161 MB / 1.393 GB, free: 4.246 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.9241, allocations: 1.031 MB / 1.394 GB, free: 3.613 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.9253, allocations: 1.128 MB / 1.395 GB, free: 2.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.9268, allocations: 1.078 MB / 1.396 GB, free: 2.355 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.927, allocations: 124.7 kB / 1.396 GB, free: 2.352 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.9312, allocations: 2.735 MB / 1.399 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004251/0.9316, allocations: 498.2 kB / 1.399 GB, free: 496 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006307/0.9322, allocations: 0.7284 MB / 1.4 GB, free: 28 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.9354, allocations: 2.813 MB / 1.403 GB, free: 14.28 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.9354, allocations: 2.375 kB / 1.403 GB, free: 14.28 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.542e-06/0.9354, allocations: 0 / 1.403 GB, free: 14.28 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.9355, allocations: 0 / 1.403 GB, free: 14.28 MB / 1.076 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.00333/0.9388, allocations: 1.842 MB / 1.405 GB, free: 12.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.9388, allocations: 10.19 kB / 1.405 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.939, allocations: 146.7 kB / 1.405 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.9416, allocations: 437.7 kB / 1.405 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.9428, allocations: 0.9041 MB / 1.406 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.9428, allocations: 71.38 kB / 1.406 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.943, allocations: 94.5 kB / 1.406 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.9446, allocations: 1.203 MB / 1.407 GB, free: 11.08 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.9447, allocations: 3.953 kB / 1.407 GB, free: 11.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.9448, allocations: 42.2 kB / 1.407 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/0.9448, allocations: 50.3 kB / 1.407 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.9464, allocations: 1.081 MB / 1.409 GB, free: 10.5 MB / 1.076 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.004733/0.9512, allocations: 4.756 MB / 1.413 GB, free: 6.285 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.9525, allocations: 0.9817 MB / 1.414 GB, free: 5.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009538/0.9534, allocations: 0.5934 MB / 1.415 GB, free: 5.359 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006133/0.9541, allocations: 0.6814 MB / 1.415 GB, free: 4.578 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.9541, allocations: 41.91 kB / 1.415 GB, free: 4.531 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 1.994e-06/0.9541, allocations: 2.281 kB / 1.415 GB, free: 4.531 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.003717/0.9578, allocations: 2.314 MB / 1.418 GB, free: 2.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.9579, allocations: 64.34 kB / 1.418 GB, free: 2.406 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.9586, allocations: 0.6411 MB / 1.418 GB, free: 1.754 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.9587, allocations: 41.7 kB / 1.418 GB, free: 1.707 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.959, allocations: 456.9 kB / 1.419 GB, free: 1.254 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.9593, allocations: 317.2 kB / 1.419 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.9595, allocations: 138.6 kB / 1.419 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.9597, allocations: 394.7 kB / 1.42 GB, free: 412 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.9602, allocations: 321.8 kB / 1.42 GB, free: 92 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/0.9608, allocations: 422.5 kB / 1.42 GB, free: 15.65 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.9619, allocations: 0.7807 MB / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.9619, allocations: 4 kB / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001465/0.9634, allocations: 0.9506 MB / 1.422 GB, free: 13.88 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.9634, allocations: 8 kB / 1.422 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9634, allocations: 1.125 kB / 1.422 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.9637, allocations: 65.02 kB / 1.422 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.9643, allocations: 155.8 kB / 1.422 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004583/0.9648, allocations: 0.607 MB / 1.423 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.9654, allocations: 24.81 kB / 1.423 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.9655, allocations: 27.94 kB / 1.423 GB, free: 12.96 MB / 1.092 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.000376/0.9659, allocations: 309.6 kB / 1.423 GB, free: 12.65 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.966, allocations: 99.42 kB / 1.423 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.9675, allocations: 0.9299 MB / 1.424 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.9676, allocations: 8 kB / 1.424 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9676, allocations: 4 kB / 1.424 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/0.9688, allocations: 0.9271 MB / 1.425 GB, free: 10.63 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.9716, allocations: 2.117 MB / 1.427 GB, free: 8.461 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9717, allocations: 4.062 kB / 1.427 GB, free: 8.457 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/0.9725, allocations: 187.8 kB / 1.427 GB, free: 8.273 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.9725, allocations: 4 kB / 1.427 GB, free: 8.27 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.9726, allocations: 23.94 kB / 1.427 GB, free: 8.246 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.9726, allocations: 4 kB / 1.427 GB, free: 8.242 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.9726, allocations: 0 / 1.427 GB, free: 8.242 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.9745, allocations: 1.393 MB / 1.429 GB, free: 6.836 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.9748, allocations: 260.3 kB / 1.429 GB, free: 6.562 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.9749, allocations: 19.94 kB / 1.429 GB, free: 6.543 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.9755, allocations: 23.98 kB / 1.429 GB, free: 6.52 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.9757, allocations: 52.94 kB / 1.429 GB, free: 6.465 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.9757, allocations: 23.98 kB / 1.429 GB, free: 6.441 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005021/0.9762, allocations: 459 kB / 1.43 GB, free: 5.996 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9762, allocations: 0 / 1.43 GB, free: 5.996 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007034/0.9769, allocations: 323.9 kB / 1.43 GB, free: 5.68 MB / 1.092 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.002399/0.9793, allocations: 2.047 MB / 1.432 GB, free: 3.605 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.9806, allocations: 0.8168 MB / 1.433 GB, free: 2.789 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.9806, allocations: 0 / 1.433 GB, free: 2.789 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006005/0.9812, allocations: 441.6 kB / 1.433 GB, free: 2.363 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.9836, allocations: 0.5956 MB / 1.434 GB, free: 1.785 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009781/0.9933, allocations: 7.544 MB / 1.441 GB, free: 10.06 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.9941, allocations: 1.12 MB / 1.442 GB, free: 8.91 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007749/0.9949, allocations: 251.8 kB / 1.442 GB, free: 8.66 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.9954, allocations: 399.2 kB / 1.443 GB, free: 8.27 MB / 1.107 GB Notification: Performance of SimCode: time 2.21e-07/0.9954, allocations: 0 / 1.443 GB, free: 8.27 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9955/1.991, allocations: 28.08 MB / 1.47 GB, free: 12.59 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 21/22.99, allocations: 6.938 kB / 1.47 GB, free: 12.59 MB / 1.139 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches