Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Validation.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_9_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.001894/0.001894, 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.003024/0.003025, allocations: 193.7 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 2.654/2.654, allocations: 222.9 MB / 239.9 MB, free: 4.531 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 4.765/4.765, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 59.91 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338/1.34, allocations: 140.4 MB / 0.9492 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.4708/1.811, allocations: 215.4 MB / 1.16 GB, free: 9.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.06596/1.877, allocations: 26.3 MB / 1.185 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004188/1.882, allocations: 31.81 kB / 1.185 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006947/1.889, allocations: 1.039 MB / 1.186 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0187/1.907, allocations: 2.949 MB / 1.189 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.009073/1.917, allocations: 1.531 MB / 1.191 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01046/1.927, allocations: 3.868 MB / 1.194 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004357/1.931, allocations: 1.382 MB / 1.196 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009483/1.941, allocations: 2.261 MB / 1.198 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004553/1.946, allocations: 1.569 MB / 1.2 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008623/1.946, allocations: 128 kB / 1.2 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007885/1.954, allocations: 1.839 MB / 1.201 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002253/1.957, allocations: 0.8684 MB / 1.202 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003616/1.96, allocations: 1.173 MB / 1.203 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009853/1.97, allocations: 3.115 MB / 1.206 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.57e-05/1.97, allocations: 0 / 1.206 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.14e-06/1.97, allocations: 4 kB / 1.206 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001646/1.971, allocations: 7.984 kB / 1.207 GB, free: 9.672 MB / 0.9669 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.01156/1.982, allocations: 2.85 MB / 1.209 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.844e-05/1.982, allocations: 12.03 kB / 1.209 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007059/1.983, allocations: 202.6 kB / 1.209 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00376/1.987, allocations: 452.2 kB / 1.21 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006845/1.994, allocations: 2.729 MB / 1.213 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/1.994, allocations: 98.52 kB / 1.213 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/1.994, allocations: 124 kB / 1.213 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004832/1.999, allocations: 1.599 MB / 1.214 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.693e-05/1.999, allocations: 7.938 kB / 1.214 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/1.999, allocations: 55.98 kB / 1.214 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002045/2, allocations: 93.97 kB / 1.215 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003362/2.003, allocations: 1.063 MB / 1.216 GB, free: 116 kB / 0.9669 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.01723/2.02, allocations: 8.428 MB / 1.224 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/2.022, allocations: 0.7194 MB / 1.224 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008479/2.023, allocations: 312 kB / 1.225 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/2.024, allocations: 0.613 MB / 1.225 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.899e-05/2.024, allocations: 38.56 kB / 1.225 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 8.776e-06/2.024, allocations: 0 / 1.225 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.003665/2.028, allocations: 0.9754 MB / 1.226 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/2.028, allocations: 166.1 kB / 1.227 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01167/2.04, allocations: 4.69 MB / 1.231 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/2.04, allocations: 33.81 kB / 1.231 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001634/2.042, allocations: 1.07 MB / 1.232 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/2.042, allocations: 177.4 kB / 1.232 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/2.042, allocations: 102.3 kB / 1.232 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002309/2.043, allocations: 326 kB / 1.233 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006796/2.043, allocations: 217 kB / 1.233 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/2.044, allocations: 314.9 kB / 1.233 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/2.046, allocations: 0.5648 MB / 1.234 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/2.046, allocations: 0 / 1.234 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002755/2.048, allocations: 0.8031 MB / 1.235 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/2.049, allocations: 11.94 kB / 1.235 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/2.049, allocations: 4 kB / 1.235 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/2.049, allocations: 7.938 kB / 1.235 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/2.049, allocations: 99.89 kB / 1.235 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-05/2.049, allocations: 7.984 kB / 1.235 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/2.052, allocations: 154.9 kB / 1.235 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/2.052, allocations: 23.94 kB / 1.235 GB, free: 11.43 MB / 0.9981 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.001543/2.053, allocations: 0.5366 MB / 1.235 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/2.054, allocations: 233 kB / 1.236 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/2.057, allocations: 0.8117 MB / 1.236 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/2.057, allocations: 7.938 kB / 1.236 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/2.057, allocations: 4 kB / 1.236 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/2.057, allocations: 0 / 1.236 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006607/2.064, allocations: 2.096 MB / 1.239 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/2.064, allocations: 4 kB / 1.239 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008271/2.065, allocations: 99.89 kB / 1.239 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/2.065, allocations: 0 / 1.239 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/2.065, allocations: 19.98 kB / 1.239 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.388e-05/2.065, allocations: 8.188 kB / 1.239 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/2.065, allocations: 4 kB / 1.239 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/2.068, allocations: 1.27 MB / 1.24 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/2.07, allocations: 417.9 kB / 1.24 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007966/2.071, allocations: 12 kB / 1.24 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/2.073, allocations: 87.86 kB / 1.24 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/2.073, allocations: 44.27 kB / 1.24 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/2.073, allocations: 16 kB / 1.24 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.008116/2.081, allocations: 3.506 MB / 1.244 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.71e-07/2.081, allocations: 0 / 1.244 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002866/2.084, allocations: 471.1 kB / 1.244 GB, free: 1.648 MB / 0.9981 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.9763/3.06, allocations: 2.246 MB / 1.246 GB, free: 286.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002638/3.063, allocations: 0.6089 MB / 1.247 GB, free: 286.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/3.063, allocations: 3.078 kB / 1.247 GB, free: 286.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/3.064, allocations: 299.8 kB / 1.247 GB, free: 286.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008666/3.073, allocations: 0.8508 MB / 1.248 GB, free: 286.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0678/3.141, allocations: 21.92 MB / 1.27 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/3.143, allocations: 1.632 MB / 1.271 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0032/3.146, allocations: 471.8 kB / 1.272 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/3.148, allocations: 0.9421 MB / 1.273 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/3.148, allocations: 0 / 1.273 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.02/6.167, allocations: 48.36 MB / 1.32 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003489/6.168, allocations: 244.5 kB / 1.32 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.243/12.41, allocations: 7.219 kB / 1.32 GB, free: 230.1 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches