Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.Orifice,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice",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.001412/0.001412, 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.001391/0.001391, 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.539/2.539, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 75.33 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2567, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1783/0.4351, allocations: 173.8 MB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003441/0.4386, allocations: 2.294 MB / 1.236 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.4388, allocations: 15.94 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.4395, allocations: 234.3 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.4412, allocations: 0.9294 MB / 1.237 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.4429, allocations: 0.8189 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009891/0.4439, allocations: 0.9585 MB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.4444, allocations: 331 kB / 1.239 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005793/0.4449, allocations: 454.3 kB / 1.24 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.4453, allocations: 318.7 kB / 1.24 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.4454, allocations: 32 kB / 1.24 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.4468, allocations: 0.982 MB / 1.241 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.4469, allocations: 151.5 kB / 1.241 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.4472, allocations: 242.8 kB / 1.241 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.4483, allocations: 0.8882 MB / 1.242 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4483, allocations: 4 kB / 1.242 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4483, allocations: 0 / 1.242 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.4483, allocations: 3.938 kB / 1.242 GB, free: 7.094 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001137/0.4495, allocations: 0.8022 MB / 1.243 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.4495, allocations: 12.03 kB / 1.243 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.155e-05/0.4496, allocations: 66.53 kB / 1.243 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4507, allocations: 183.1 kB / 1.243 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.4512, allocations: 373.5 kB / 1.244 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.4512, allocations: 24.64 kB / 1.244 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.4513, allocations: 35.91 kB / 1.244 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.4519, allocations: 369.1 kB / 1.244 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4519, allocations: 4 kB / 1.244 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.452, allocations: 12 kB / 1.244 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.452, allocations: 11.94 kB / 1.244 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.4525, allocations: 266 kB / 1.244 GB, free: 4.84 MB / 0.9981 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.002019/0.4545, allocations: 1.679 MB / 1.246 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.4549, allocations: 206.5 kB / 1.246 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.4552, allocations: 112.9 kB / 1.246 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.4564, allocations: 0.8739 MB / 1.247 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.4565, allocations: 38.56 kB / 1.247 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.243e-06/0.4565, allocations: 0 / 1.247 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009099/0.4574, allocations: 355.6 kB / 1.247 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.4574, allocations: 59.33 kB / 1.248 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.4579, allocations: 425.9 kB / 1.248 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.458, allocations: 29.7 kB / 1.248 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.4582, allocations: 216.3 kB / 1.248 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.4583, allocations: 82.75 kB / 1.248 GB, free: 436 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.4583, allocations: 49.7 kB / 1.248 GB, free: 380 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4585, allocations: 362.7 kB / 1.249 GB, free: 8 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3644/0.8229, allocations: 68.81 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.8232, allocations: 123 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.8235, allocations: 203.6 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8236, allocations: 5.469 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000542/0.8241, allocations: 280.7 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8241, allocations: 6 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8241, allocations: 1.391 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.8242, allocations: 3.125 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.8244, allocations: 53.81 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.8244, allocations: 5.562 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.8246, allocations: 34.38 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.8247, allocations: 10.47 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001437/0.8248, allocations: 158.6 kB / 1.25 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.8249, allocations: 41.19 kB / 1.25 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.8254, allocations: 290.2 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.8254, allocations: 7.531 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8254, allocations: 5.75 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.8254, allocations: 1.266 kB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.8265, allocations: 0.8047 MB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8265, allocations: 3.5 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.8267, allocations: 50.08 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.8267, allocations: 2.812 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.8268, allocations: 6.625 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.8268, allocations: 8.109 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8268, allocations: 2.281 kB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.8274, allocations: 0.5089 MB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.8276, allocations: 142.2 kB / 1.251 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.8276, allocations: 8.031 kB / 1.251 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.8279, allocations: 15.67 kB / 1.251 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.8279, allocations: 23.55 kB / 1.251 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.828, allocations: 12.45 kB / 1.251 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002644/0.8282, allocations: 301.7 kB / 1.252 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8282, allocations: 0 / 1.252 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004032/0.8286, allocations: 113.1 kB / 1.252 GB, free: 188.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.001054/0.8297, allocations: 1.136 MB / 1.253 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.8302, allocations: 216.7 kB / 1.253 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8302, allocations: 1.031 kB / 1.253 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.8304, allocations: 116 kB / 1.253 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.8314, allocations: 231.5 kB / 1.253 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.835, allocations: 3.737 MB / 1.257 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.8352, allocations: 0.8221 MB / 1.258 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.8354, allocations: 85.28 kB / 1.258 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.8356, allocations: 136.6 kB / 1.258 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.8356, allocations: 2.938 kB / 1.258 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.836/2.672, allocations: 12 MB / 1.27 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/13.92, allocations: 8.5 kB / 1.27 GB, free: 183.8 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches