Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",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.0009873/0.0009872, 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.0009934/0.0009935, allocations: 194 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.168/1.168, allocations: 222.9 MB / 240.2 MB, free: 4.363 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 2.071/2.071, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 71.89 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4624, allocations: 140.3 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.001711/0.4641, allocations: 1.23 MB / 0.9509 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007674/0.4649, allocations: 0.6995 MB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.4649, allocations: 0 / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.465, allocations: 0 / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.4651, allocations: 5.312 kB / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.4653, allocations: 94.44 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.84e-05/0.4653, allocations: 11.95 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.4654, allocations: 1.281 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.4654, allocations: 14.45 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.4655, allocations: 2.531 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.4655, allocations: 0 / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.4657, allocations: 138.9 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-06/0.4657, allocations: 0 / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.4657, allocations: 5.344 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.4659, allocations: 78.45 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.4659, allocations: 3.938 kB / 0.9519 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4659, allocations: 5.062 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.4659, allocations: 0 / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002262/0.4661, allocations: 338.1 kB / 0.9523 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.4662, allocations: 9.438 kB / 0.9523 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.968e-05/0.4662, allocations: 31.91 kB / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.678e-05/0.4662, allocations: 0.9375 kB / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.131e-05/0.4663, allocations: 165.3 kB / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.4663, allocations: 1.219 kB / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-06/0.4663, allocations: 8.812 kB / 0.9525 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.997e-05/0.4663, allocations: 28.86 kB / 0.9525 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.4664, allocations: 5.031 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.4664, allocations: 3.984 kB / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4664, allocations: 3.938 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.4664, allocations: 12.28 kB / 0.9525 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.187e-05/0.4665, allocations: 143.8 kB / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.683e-05/0.4665, allocations: 40.23 kB / 0.9527 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.4666, allocations: 11.55 kB / 0.9527 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.4668, allocations: 409 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.4668, allocations: 35.92 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4668, allocations: 0 / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 9.691e-05/0.4669, allocations: 43.08 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.467, allocations: 51.53 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.27e-05/0.467, allocations: 100.3 kB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.467, allocations: 31 kB / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.868e-06/0.467, allocations: 80.14 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.467, allocations: 5.156 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.4671, allocations: 12.16 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.111e-05/0.4671, allocations: 316.1 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.4671, allocations: 1.406 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.4671, allocations: 6.625 kB / 0.9538 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/0.4672, allocations: 13.89 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4672, allocations: 3.984 kB / 0.9538 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.439e-05/0.4672, allocations: 42.17 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.4672, allocations: 4.844 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.4672, allocations: 4 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.4672, allocations: 1.094 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.603e-05/0.4673, allocations: 3.156 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.4673, allocations: 4.078 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.4673, allocations: 5.281 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-06/0.4673, allocations: 0 / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 3.303e-05/0.4674, allocations: 119.9 kB / 0.9539 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-06/0.4674, allocations: 5.062 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.363e-05/0.4674, allocations: 44.45 kB / 0.954 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4674, allocations: 0 / 0.954 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4674, allocations: 0.9688 kB / 0.954 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4675, allocations: 3.984 kB / 0.954 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.241e-05/0.4675, allocations: 153.1 kB / 0.9541 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4675, allocations: 0 / 0.9541 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.4675, allocations: 7.375 kB / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4675, allocations: 0 / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.4675, allocations: 4.984 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.4675, allocations: 0 / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4675, allocations: 4.969 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.669e-05/0.4676, allocations: 61.98 kB / 0.9542 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.4676, allocations: 82.2 kB / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-06/0.4676, allocations: 5.078 kB / 0.9543 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.4676, allocations: 0 / 0.9543 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.4677, allocations: 9.188 kB / 0.9543 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.4677, allocations: 0.875 kB / 0.9543 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.283e-05/0.4677, allocations: 77.25 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4677, allocations: 0 / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001834/0.4679, allocations: 20.94 kB / 0.9544 GB, free: 4.578 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0002383/0.4681, allocations: 0.6376 MB / 0.955 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.547e-05/0.4682, allocations: 13.72 kB / 0.955 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4682, allocations: 1.5 kB / 0.955 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.258e-06/0.4682, allocations: 3.625 kB / 0.955 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.4683, allocations: 1.25 kB / 0.955 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.4686, allocations: 136.5 kB / 0.9552 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.622e-05/0.4686, allocations: 0.6796 MB / 0.9558 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.305e-05/0.4687, allocations: 1.406 kB / 0.9558 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.4687, allocations: 8.938 kB / 0.9559 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.4687, allocations: 0 / 0.9559 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.103/2.572, allocations: 1.497 MB / 0.9573 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/12.68, allocations: 15.72 kB / 0.9573 GB, free: 2.25 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches