Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",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.006743/0.006743, allocations: 104.8 kB / 15.74 MB, free: 6.059 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.00152/0.00152, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.374/2.374, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 56.12 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.6859, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1931/0.8791, allocations: 218.2 MB / 1.42 GB, free: 2.559 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02745/0.9066, allocations: 26.47 MB / 1.446 GB, free: 8.008 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.908, allocations: 31.81 kB / 1.446 GB, free: 7.977 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002488/0.9105, allocations: 1.15 MB / 1.447 GB, free: 6.82 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006533/0.9171, allocations: 3.146 MB / 1.45 GB, free: 3.664 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.9206, allocations: 1.652 MB / 1.452 GB, free: 2.016 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004024/0.9247, allocations: 3.857 MB / 1.456 GB, free: 14.14 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.9266, allocations: 1.44 MB / 1.457 GB, free: 12.67 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/0.9304, allocations: 2.304 MB / 1.459 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.9323, allocations: 1.463 MB / 1.461 GB, free: 8.887 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.9325, allocations: 124 kB / 1.461 GB, free: 8.766 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.9357, allocations: 1.789 MB / 1.463 GB, free: 6.973 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007281/0.9364, allocations: 0.849 MB / 1.464 GB, free: 6.121 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.9378, allocations: 1.181 MB / 1.465 GB, free: 4.934 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.9411, allocations: 3.006 MB / 1.468 GB, free: 1.918 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.9411, allocations: 0 / 1.468 GB, free: 1.918 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9411, allocations: 0 / 1.468 GB, free: 1.918 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.231e-05/0.9411, allocations: 0 / 1.468 GB, free: 1.918 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003668/0.9448, allocations: 2.861 MB / 1.47 GB, free: 14.99 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.9448, allocations: 8.031 kB / 1.47 GB, free: 14.98 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.945, allocations: 202.5 kB / 1.471 GB, free: 14.78 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.9467, allocations: 452.2 kB / 1.471 GB, free: 14.33 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.9498, allocations: 2.749 MB / 1.474 GB, free: 11.51 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.9499, allocations: 94.53 kB / 1.474 GB, free: 11.42 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.9501, allocations: 131.9 kB / 1.474 GB, free: 11.29 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.9521, allocations: 1.595 MB / 1.476 GB, free: 9.551 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.9521, allocations: 11.92 kB / 1.476 GB, free: 9.539 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/0.9522, allocations: 55.98 kB / 1.476 GB, free: 9.484 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.9524, allocations: 93.97 kB / 1.476 GB, free: 9.395 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.954, allocations: 1.061 MB / 1.477 GB, free: 8.332 MB / 1.201 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.007045/0.961, allocations: 8.443 MB / 1.485 GB, free: 15.39 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/0.962, allocations: 0.7425 MB / 1.486 GB, free: 14.6 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.9624, allocations: 308.1 kB / 1.486 GB, free: 14.28 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/0.9629, allocations: 0.6052 MB / 1.487 GB, free: 13.55 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.9629, allocations: 42.5 kB / 1.487 GB, free: 13.5 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 2.335e-06/0.9629, allocations: 0 / 1.487 GB, free: 13.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.001545/0.9645, allocations: 0.9793 MB / 1.488 GB, free: 12.51 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.9645, allocations: 162.2 kB / 1.488 GB, free: 12.31 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004629/0.9692, allocations: 4.69 MB / 1.492 GB, free: 7.613 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.9692, allocations: 37.7 kB / 1.492 GB, free: 7.57 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007424/0.97, allocations: 1.066 MB / 1.493 GB, free: 6.496 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.9701, allocations: 177.4 kB / 1.494 GB, free: 6.32 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.9703, allocations: 102.3 kB / 1.494 GB, free: 6.215 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.9703, allocations: 326 kB / 1.494 GB, free: 5.891 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.9707, allocations: 217 kB / 1.494 GB, free: 5.68 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.9711, allocations: 330.8 kB / 1.494 GB, free: 5.324 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.9719, allocations: 0.5493 MB / 1.495 GB, free: 4.742 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.9719, allocations: 4 kB / 1.495 GB, free: 4.738 MB / 1.217 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001129/0.973, allocations: 0.8031 MB / 1.496 GB, free: 3.926 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.973, allocations: 7.938 kB / 1.496 GB, free: 3.918 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9731, allocations: 4 kB / 1.496 GB, free: 3.914 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.9731, allocations: 4 kB / 1.496 GB, free: 3.91 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.9735, allocations: 107.9 kB / 1.496 GB, free: 3.805 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.9735, allocations: 7.938 kB / 1.496 GB, free: 3.797 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/0.9742, allocations: 94.81 kB / 1.496 GB, free: 3.703 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.9742, allocations: 23.98 kB / 1.496 GB, free: 3.68 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0005992/0.9748, allocations: 0.5367 MB / 1.497 GB, free: 3.133 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.9752, allocations: 233 kB / 1.497 GB, free: 2.902 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.9763, allocations: 0.8079 MB / 1.498 GB, free: 2.086 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.9763, allocations: 11.94 kB / 1.498 GB, free: 2.074 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.9764, allocations: 3.984 kB / 1.498 GB, free: 2.07 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.9764, allocations: 4 kB / 1.498 GB, free: 2.066 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.979, allocations: 2.088 MB / 1.5 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.979, allocations: 0 / 1.5 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.9794, allocations: 95.89 kB / 1.5 GB, free: 15.81 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.9794, allocations: 8.188 kB / 1.5 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.9795, allocations: 20.08 kB / 1.5 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.9795, allocations: 4 kB / 1.5 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9795, allocations: 3.938 kB / 1.5 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.981, allocations: 1.27 MB / 1.501 GB, free: 14.47 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/0.9817, allocations: 414 kB / 1.501 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.9819, allocations: 15.98 kB / 1.501 GB, free: 14.03 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006253/0.9825, allocations: 20 kB / 1.501 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.9826, allocations: 44.27 kB / 1.501 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.9826, allocations: 19.98 kB / 1.501 GB, free: 13.95 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003324/0.986, allocations: 3.506 MB / 1.505 GB, free: 10.43 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.01e-07/0.986, allocations: 3.938 kB / 1.505 GB, free: 10.43 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009527/0.9869, allocations: 475 kB / 1.505 GB, free: 9.965 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (53): * Single equations (assignments): 53 * 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.002809/0.9898, allocations: 2.264 MB / 1.508 GB, free: 7.789 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008318/0.9906, allocations: 0.5332 MB / 1.508 GB, free: 7.254 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9906, allocations: 0 / 1.508 GB, free: 7.254 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.991, allocations: 295 kB / 1.508 GB, free: 6.969 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.9943, allocations: 0.8517 MB / 1.509 GB, free: 6.121 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/1.015, allocations: 19.32 MB / 1.528 GB, free: 2.535 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.016, allocations: 1.64 MB / 1.53 GB, free: 0.8633 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001112/1.017, allocations: 466.1 kB / 1.53 GB, free: 416 kB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009394/1.018, allocations: 0.9407 MB / 1.531 GB, free: 15.46 MB / 1.264 GB Notification: Performance of SimCode: time 8.82e-07/1.018, allocations: 0 / 1.531 GB, free: 15.46 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8796/1.898, allocations: 46.56 MB / 1.577 GB, free: 350.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/14.3, allocations: 5.781 kB / 1.577 GB, free: 350.3 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches