Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Validation.OneWayFlow,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_10_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.000968/0.0009723, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009392/0.0009389, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.177/1.177, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.228/2.228, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4479, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1867/0.6346, allocations: 218.2 MB / 1.23 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.4494/1.084, allocations: 26.45 MB / 1.256 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/1.085, allocations: 34.5 kB / 1.256 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/1.088, allocations: 1.152 MB / 1.257 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006064/1.094, allocations: 3.143 MB / 1.261 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003277/1.097, allocations: 1.644 MB / 1.262 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004333/1.101, allocations: 3.845 MB / 1.266 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/1.103, allocations: 1.45 MB / 1.267 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004245/1.108, allocations: 2.278 MB / 1.27 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/1.109, allocations: 1.476 MB / 1.271 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/1.109, allocations: 125.2 kB / 1.271 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/1.113, allocations: 1.774 MB / 1.273 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006762/1.113, allocations: 0.854 MB / 1.274 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/1.114, allocations: 1.173 MB / 1.275 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002861/1.117, allocations: 2.971 MB / 1.278 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/1.117, allocations: 1.156 kB / 1.278 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/1.117, allocations: 0.9688 kB / 1.278 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.266e-05/1.117, allocations: 0 / 1.278 GB, free: 1.387 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.003246/1.121, allocations: 2.864 MB / 1.281 GB, free: 15.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/1.121, allocations: 10.47 kB / 1.281 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/1.121, allocations: 194.8 kB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/1.122, allocations: 448.9 kB / 1.281 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/1.125, allocations: 2.733 MB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/1.125, allocations: 95.28 kB / 1.284 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/1.125, allocations: 126 kB / 1.284 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/1.127, allocations: 1.602 MB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/1.127, allocations: 12.77 kB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/1.127, allocations: 54.03 kB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.445e-05/1.127, allocations: 88.75 kB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/1.128, allocations: 1.066 MB / 1.287 GB, free: 14.75 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.005863/1.134, allocations: 8.504 MB / 1.295 GB, free: 9.504 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/1.135, allocations: 0.7281 MB / 1.296 GB, free: 9.375 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/1.135, allocations: 303.4 kB / 1.296 GB, free: 9.336 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004658/1.136, allocations: 0.6098 MB / 1.297 GB, free: 8.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.136, allocations: 45.73 kB / 1.297 GB, free: 8.641 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 1.884e-06/1.136, allocations: 3.562 kB / 1.297 GB, free: 8.641 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.001324/1.137, allocations: 0.9737 MB / 1.298 GB, free: 8.473 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/1.137, allocations: 169.3 kB / 1.298 GB, free: 8.285 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/1.141, allocations: 4.687 MB / 1.302 GB, free: 8.066 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/1.141, allocations: 36.8 kB / 1.302 GB, free: 8.035 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/1.141, allocations: 1.062 MB / 1.303 GB, free: 7.824 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/1.141, allocations: 184.8 kB / 1.304 GB, free: 7.711 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/1.142, allocations: 96 kB / 1.304 GB, free: 7.691 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/1.142, allocations: 323.8 kB / 1.304 GB, free: 7.387 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/1.142, allocations: 222.2 kB / 1.304 GB, free: 7.387 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/1.142, allocations: 321.6 kB / 1.305 GB, free: 7.293 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/1.143, allocations: 0.5576 MB / 1.305 GB, free: 7.199 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.143, allocations: 3.188 kB / 1.305 GB, free: 7.199 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009489/1.144, allocations: 0.7994 MB / 1.306 GB, free: 7.035 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.144, allocations: 4.312 kB / 1.306 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.144, allocations: 6.469 kB / 1.306 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.144, allocations: 6.469 kB / 1.306 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/1.144, allocations: 106.8 kB / 1.306 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.144, allocations: 3.719 kB / 1.306 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/1.145, allocations: 94.47 kB / 1.306 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/1.145, allocations: 25.53 kB / 1.306 GB, free: 6.98 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.0005055/1.146, allocations: 0.5385 MB / 1.307 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/1.146, allocations: 237 kB / 1.307 GB, free: 6.738 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009756/1.147, allocations: 0.8079 MB / 1.308 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.147, allocations: 9.531 kB / 1.308 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.147, allocations: 96 / 1.308 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.147, allocations: 7.75 kB / 1.308 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/1.149, allocations: 2.09 MB / 1.31 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.149, allocations: 0.6875 kB / 1.31 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/1.15, allocations: 103.1 kB / 1.31 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.15, allocations: 2.219 kB / 1.31 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/1.15, allocations: 16 kB / 1.31 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.15, allocations: 5.531 kB / 1.31 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.15, allocations: 9.156 kB / 1.31 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/1.151, allocations: 1.269 MB / 1.311 GB, free: 5.707 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/1.151, allocations: 413 kB / 1.311 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/1.152, allocations: 15.16 kB / 1.312 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/1.152, allocations: 24.91 kB / 1.312 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/1.152, allocations: 42.11 kB / 1.312 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/1.152, allocations: 21 kB / 1.312 GB, free: 5.484 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002774/1.155, allocations: 3.505 MB / 1.315 GB, free: 5.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.155, allocations: 0.875 kB / 1.315 GB, free: 5.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009251/1.156, allocations: 473.6 kB / 1.315 GB, free: 5.281 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.002505/1.159, allocations: 2.264 MB / 1.318 GB, free: 4.348 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008096/1.159, allocations: 0.6057 MB / 1.318 GB, free: 4.336 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.159, allocations: 2.469 kB / 1.318 GB, free: 4.336 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/1.16, allocations: 294.6 kB / 1.319 GB, free: 4.328 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/1.163, allocations: 0.854 MB / 1.319 GB, free: 4.199 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.182, allocations: 21.39 MB / 1.34 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009802/1.183, allocations: 1.63 MB / 1.342 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001309/1.185, allocations: 476.5 kB / 1.342 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007699/1.185, allocations: 0.9408 MB / 1.343 GB, free: 12.76 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/1.185, allocations: 0 / 1.343 GB, free: 12.76 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.713/4.898, allocations: 48.68 MB / 1.391 GB, free: 3.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/15.06, allocations: 11.78 kB / 1.391 GB, free: 3.086 MB / 1.061 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches