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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.000861/0.0008608, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005311/0.005311, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.196/1.196, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.36/2.36, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 14.41 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2378, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.6292/0.867, allocations: 212.9 MB / 1.267 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.8892, allocations: 26.37 MB / 1.292 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.8903, allocations: 24.75 kB / 1.292 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.8924, allocations: 1.01 MB / 1.293 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005717/0.8981, allocations: 2.942 MB / 1.296 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.9012, allocations: 1.515 MB / 1.298 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004943/0.9062, allocations: 5.832 MB / 1.304 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.9076, allocations: 1.207 MB / 1.305 GB, free: 17.94 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.911, allocations: 2.048 MB / 1.307 GB, free: 17.9 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.9126, allocations: 1.523 MB / 1.308 GB, free: 17.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.9127, allocations: 74.31 kB / 1.308 GB, free: 17.89 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003348/0.9161, allocations: 2.107 MB / 1.31 GB, free: 17.86 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005551/0.9166, allocations: 0.8032 MB / 1.311 GB, free: 17.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009314/0.9176, allocations: 1.136 MB / 1.312 GB, free: 17.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.9202, allocations: 3.04 MB / 1.315 GB, free: 17.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.9202, allocations: 0 / 1.315 GB, free: 17.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9202, allocations: 0 / 1.315 GB, free: 17.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.9202, allocations: 0 / 1.315 GB, free: 17.48 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.002849/0.9231, allocations: 2.458 MB / 1.318 GB, free: 16.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.9231, allocations: 13.56 kB / 1.318 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.9233, allocations: 196.9 kB / 1.318 GB, free: 16.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.9247, allocations: 452.9 kB / 1.318 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.9269, allocations: 2.728 MB / 1.321 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.9269, allocations: 96.84 kB / 1.321 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.927, allocations: 135 kB / 1.321 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.9287, allocations: 1.6 MB / 1.323 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.9288, allocations: 5.938 kB / 1.323 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.9289, allocations: 55.84 kB / 1.323 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-05/0.9289, allocations: 95.98 kB / 1.323 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.9302, allocations: 1.066 MB / 1.324 GB, free: 14.9 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.005737/0.9359, allocations: 8.453 MB / 1.332 GB, free: 9.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/0.9367, allocations: 0.7429 MB / 1.333 GB, free: 9.457 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.9371, allocations: 310.1 kB / 1.333 GB, free: 9.418 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004598/0.9376, allocations: 0.6085 MB / 1.334 GB, free: 8.758 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.9376, allocations: 39.59 kB / 1.334 GB, free: 8.719 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 1.543e-06/0.9376, allocations: 0 / 1.334 GB, free: 8.719 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.00125/0.9389, allocations: 0.9876 MB / 1.335 GB, free: 8.555 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.9389, allocations: 170 kB / 1.335 GB, free: 8.363 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003807/0.9427, allocations: 4.689 MB / 1.339 GB, free: 8.141 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.9428, allocations: 38.17 kB / 1.339 GB, free: 8.109 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/0.9434, allocations: 1.064 MB / 1.341 GB, free: 7.898 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.9436, allocations: 180.8 kB / 1.341 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.9436, allocations: 53 kB / 1.341 GB, free: 7.766 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9437, allocations: 322.7 kB / 1.341 GB, free: 7.461 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.944, allocations: 225.9 kB / 1.341 GB, free: 7.457 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.9444, allocations: 328.3 kB / 1.342 GB, free: 7.363 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.945, allocations: 0.5703 MB / 1.342 GB, free: 7.262 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.945, allocations: 2.938 kB / 1.342 GB, free: 7.262 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009056/0.9459, allocations: 0.8123 MB / 1.343 GB, free: 7.094 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9459, allocations: 5.375 kB / 1.343 GB, free: 7.094 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9459, allocations: 2.906 kB / 1.343 GB, free: 7.094 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.946, allocations: 10.75 kB / 1.343 GB, free: 7.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.9463, allocations: 108.5 kB / 1.343 GB, free: 7.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.9463, allocations: 5.656 kB / 1.343 GB, free: 7.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/0.9472, allocations: 161.4 kB / 1.343 GB, free: 7.023 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.9472, allocations: 18.19 kB / 1.343 GB, free: 7.023 MB / 1.014 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.0005092/0.9477, allocations: 0.5419 MB / 1.344 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.948, allocations: 228.5 kB / 1.344 GB, free: 6.789 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.949, allocations: 0.818 MB / 1.345 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9491, allocations: 5.719 kB / 1.345 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.9491, allocations: 7.219 kB / 1.345 GB, free: 6.699 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.9491, allocations: 0.9844 kB / 1.345 GB, free: 6.699 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.9514, allocations: 2.095 MB / 1.347 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9514, allocations: 0 / 1.347 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.9517, allocations: 104.9 kB / 1.347 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.9517, allocations: 6.328 kB / 1.347 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.9518, allocations: 16.66 kB / 1.347 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.9518, allocations: 3.25 kB / 1.347 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.9518, allocations: 2.875 kB / 1.347 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.9531, allocations: 1.283 MB / 1.348 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/0.9536, allocations: 431.5 kB / 1.349 GB, free: 5.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.9538, allocations: 14.78 kB / 1.349 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/0.9545, allocations: 79.38 kB / 1.349 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.9546, allocations: 47.31 kB / 1.349 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.9546, allocations: 14.98 kB / 1.349 GB, free: 5.504 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002797/0.9574, allocations: 3.51 MB / 1.352 GB, free: 5.359 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9574, allocations: 0 / 1.352 GB, free: 5.359 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009066/0.9583, allocations: 470 kB / 1.353 GB, free: 5.305 MB / 1.014 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.002477/0.9608, allocations: 2.263 MB / 1.355 GB, free: 4.348 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006612/0.9615, allocations: 0.5437 MB / 1.355 GB, free: 4.336 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9615, allocations: 0 / 1.355 GB, free: 4.336 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.9618, allocations: 306.1 kB / 1.356 GB, free: 4.332 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/0.9654, allocations: 0.8287 MB / 1.357 GB, free: 4.234 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/0.9879, allocations: 22.06 MB / 1.378 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.989, allocations: 1.64 MB / 1.38 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001245/0.9902, allocations: 466.1 kB / 1.38 GB, free: 7.461 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007922/0.991, allocations: 0.9372 MB / 1.381 GB, free: 7.258 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.991, allocations: 4 kB / 1.381 GB, free: 7.254 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.234/3.225, allocations: 46.37 MB / 1.426 GB, free: 9.539 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/3.225, allocations: 257.7 kB / 1.427 GB, free: 9.273 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.462/6.688, allocations: 0 / 1.427 GB, free: 9.273 MB / 1.076 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