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.001154/0.001154, 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.001123/0.001123, allocations: 192.8 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.641/2.641, allocations: 461.9 MB / 0.7343 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 62.22 kB / 0.8987 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2663, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.625/0.8913, allocations: 215.4 MB / 1.263 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02412/0.9155, allocations: 26.3 MB / 1.288 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.917, allocations: 25.91 kB / 1.288 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.9197, allocations: 1.043 MB / 1.289 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006968/0.9267, allocations: 2.946 MB / 1.292 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/0.9301, allocations: 1.53 MB / 1.294 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004384/0.9345, allocations: 3.866 MB / 1.298 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.9361, allocations: 1.379 MB / 1.299 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/0.94, allocations: 2.267 MB / 1.301 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.9416, allocations: 1.574 MB / 1.303 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.9417, allocations: 124.3 kB / 1.303 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003238/0.945, allocations: 1.841 MB / 1.305 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005958/0.9456, allocations: 0.8589 MB / 1.305 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009014/0.9465, allocations: 1.175 MB / 1.307 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.9493, allocations: 3.12 MB / 1.31 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.9494, allocations: 0.7812 kB / 1.31 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9494, allocations: 0 / 1.31 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.9494, allocations: 2.281 kB / 1.31 GB, free: 0.8789 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.00341/0.9528, allocations: 2.859 MB / 1.312 GB, free: 15.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.9529, allocations: 12.06 kB / 1.312 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.953, allocations: 196.9 kB / 1.313 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.9546, allocations: 442.4 kB / 1.313 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.957, allocations: 2.736 MB / 1.316 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.9571, allocations: 96.53 kB / 1.316 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.9572, allocations: 136.8 kB / 1.316 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.959, allocations: 1.594 MB / 1.318 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.9591, allocations: 12.16 kB / 1.318 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.9592, allocations: 54.11 kB / 1.318 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.469e-05/0.9593, allocations: 94.39 kB / 1.318 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.9606, allocations: 1.054 MB / 1.319 GB, free: 14.25 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.0059/0.9665, allocations: 8.446 MB / 1.327 GB, free: 8.969 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007827/0.9673, allocations: 0.7327 MB / 1.328 GB, free: 8.836 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.9676, allocations: 304 kB / 1.328 GB, free: 8.797 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004687/0.9681, allocations: 0.6094 MB / 1.329 GB, free: 8.137 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.9681, allocations: 39.97 kB / 1.329 GB, free: 8.098 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 2.856e-06/0.9682, allocations: 5.156 kB / 1.329 GB, free: 8.098 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.00135/0.9695, allocations: 0.9659 MB / 1.33 GB, free: 7.934 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.9696, allocations: 164.3 kB / 1.33 GB, free: 7.746 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/0.9735, allocations: 4.693 MB / 1.334 GB, free: 7.523 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.9736, allocations: 35.27 kB / 1.334 GB, free: 7.492 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006191/0.9742, allocations: 1.068 MB / 1.335 GB, free: 7.281 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.9743, allocations: 192.3 kB / 1.336 GB, free: 7.156 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.9745, allocations: 93.73 kB / 1.336 GB, free: 7.141 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.9746, allocations: 323.1 kB / 1.336 GB, free: 6.836 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.9749, allocations: 222.1 kB / 1.336 GB, free: 6.832 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.9753, allocations: 319.8 kB / 1.336 GB, free: 6.738 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.9759, allocations: 0.5568 MB / 1.337 GB, free: 6.641 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9759, allocations: 7.344 kB / 1.337 GB, free: 6.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009914/0.9769, allocations: 0.8072 MB / 1.338 GB, free: 6.469 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.9769, allocations: 5.188 kB / 1.338 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.977, allocations: 2.953 kB / 1.338 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.977, allocations: 9 kB / 1.338 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.9773, allocations: 103.7 kB / 1.338 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.9773, allocations: 7.438 kB / 1.338 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/0.9783, allocations: 155 kB / 1.338 GB, free: 6.398 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.9784, allocations: 23.27 kB / 1.338 GB, free: 6.398 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.0005551/0.979, allocations: 0.5409 MB / 1.339 GB, free: 6.285 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.9793, allocations: 234.3 kB / 1.339 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.9803, allocations: 0.802 MB / 1.34 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.9803, allocations: 9.016 kB / 1.34 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.9803, allocations: 7 kB / 1.34 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.9803, allocations: 3.141 kB / 1.34 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.9828, allocations: 2.091 MB / 1.342 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9828, allocations: 3.531 kB / 1.342 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.9832, allocations: 95.45 kB / 1.342 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.9832, allocations: 2.688 kB / 1.342 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.9832, allocations: 23.3 kB / 1.342 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.9832, allocations: 4.781 kB / 1.342 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9832, allocations: 4.938 kB / 1.342 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.9846, allocations: 1.268 MB / 1.343 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/0.9852, allocations: 417.5 kB / 1.343 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.9854, allocations: 14.89 kB / 1.343 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007776/0.9862, allocations: 82.31 kB / 1.344 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.9863, allocations: 38.56 kB / 1.344 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.9863, allocations: 18.28 kB / 1.344 GB, free: 4.883 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002794/0.9891, allocations: 3.511 MB / 1.347 GB, free: 4.738 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9891, allocations: 4 kB / 1.347 GB, free: 4.734 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000999/0.9901, allocations: 472.2 kB / 1.347 GB, free: 4.68 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.002589/0.9927, allocations: 2.25 MB / 1.35 GB, free: 3.711 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008634/0.9936, allocations: 0.6038 MB / 1.35 GB, free: 3.691 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9936, allocations: 1.938 kB / 1.35 GB, free: 3.691 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.9939, allocations: 295.9 kB / 1.351 GB, free: 3.691 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/0.997, allocations: 0.8602 MB / 1.351 GB, free: 3.527 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/1.022, allocations: 21.92 MB / 1.373 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/1.023, allocations: 1.635 MB / 1.374 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001429/1.024, allocations: 474 kB / 1.375 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009482/1.025, allocations: 0.9406 MB / 1.376 GB, free: 7.367 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/1.025, allocations: 0 / 1.376 GB, free: 7.367 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.561/4.586, allocations: 48.36 MB / 1.423 GB, free: 7.598 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/4.587, allocations: 242.6 kB / 1.423 GB, free: 7.348 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.026/8.613, allocations: 8.062 kB / 1.423 GB, free: 7.34 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