Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_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.001176/0.001176, allocations: 108 kB / 15.61 MB, free: 152 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.001138/0.001138, allocations: 194.5 kB / 16.53 MB, free: 6.664 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 9.1.3-maint.9.1.x/package.mo): time 2.058/2.058, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 55.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5083/0.5095, allocations: 140.4 MB / 0.9497 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1661/0.6756, allocations: 173.8 MB / 1.119 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003444/0.6791, allocations: 2.308 MB / 1.122 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004417/0.6795, allocations: 19.88 kB / 1.122 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.6803, allocations: 226.4 kB / 1.122 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.6822, allocations: 0.9294 MB / 1.123 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.6841, allocations: 0.8235 MB / 1.124 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.6852, allocations: 0.9585 MB / 1.125 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.6858, allocations: 338.9 kB / 1.125 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007416/0.6865, allocations: 454.3 kB / 1.125 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.687, allocations: 314.7 kB / 1.126 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.891e-05/0.6871, allocations: 32 kB / 1.126 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.6886, allocations: 0.9898 MB / 1.127 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.6888, allocations: 143.5 kB / 1.127 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.6891, allocations: 238.8 kB / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.6904, allocations: 0.8882 MB / 1.128 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6904, allocations: 7.984 kB / 1.128 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6904, allocations: 0 / 1.128 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.6904, allocations: 0 / 1.128 GB, free: 10.71 MB / 0.8887 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.001253/0.6917, allocations: 0.8022 MB / 1.129 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.6917, allocations: 12.03 kB / 1.129 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.278e-05/0.6918, allocations: 66.55 kB / 1.129 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.693, allocations: 179.2 kB / 1.129 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.6935, allocations: 373.4 kB / 1.129 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.6935, allocations: 24.66 kB / 1.129 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.6936, allocations: 35.94 kB / 1.129 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.6942, allocations: 369.1 kB / 1.13 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.6942, allocations: 3.938 kB / 1.13 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.6942, allocations: 15.94 kB / 1.13 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.6943, allocations: 19.94 kB / 1.13 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.6948, allocations: 254 kB / 1.13 GB, free: 8.457 MB / 0.8887 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.001734/0.6965, allocations: 1.683 MB / 1.132 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.6969, allocations: 202.4 kB / 1.132 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.6971, allocations: 116.8 kB / 1.132 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009671/0.6981, allocations: 0.8701 MB / 1.133 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.6981, allocations: 42.44 kB / 1.133 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.6981, allocations: 4 kB / 1.133 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.0008251/0.6989, allocations: 350.5 kB / 1.133 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.699, allocations: 55.41 kB / 1.133 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.6994, allocations: 418 kB / 1.134 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.6994, allocations: 33.7 kB / 1.134 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.6996, allocations: 216.2 kB / 1.134 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.6997, allocations: 86.83 kB / 1.134 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.6997, allocations: 49.61 kB / 1.134 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6999, allocations: 354.7 kB / 1.134 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.7001, allocations: 79.95 kB / 1.134 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.7003, allocations: 132 kB / 1.134 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.7007, allocations: 204.1 kB / 1.135 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7007, allocations: 0 / 1.135 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004945/0.7012, allocations: 290.6 kB / 1.135 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7012, allocations: 4 kB / 1.135 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.7012, allocations: 4 kB / 1.135 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7012, allocations: 0 / 1.135 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.7015, allocations: 47.92 kB / 1.135 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.7015, allocations: 11.92 kB / 1.135 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.7017, allocations: 27.8 kB / 1.135 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.7017, allocations: 15.94 kB / 1.135 GB, free: 2.793 MB / 0.8887 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.0001525/0.7019, allocations: 169.8 kB / 1.135 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.7019, allocations: 43.44 kB / 1.135 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005279/0.7025, allocations: 278.8 kB / 1.136 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.7025, allocations: 8.078 kB / 1.136 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7025, allocations: 3.938 kB / 1.136 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7025, allocations: 0 / 1.136 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.7036, allocations: 0.8074 MB / 1.136 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7037, allocations: 4.188 kB / 1.136 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.7039, allocations: 47.91 kB / 1.136 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7039, allocations: 4 kB / 1.136 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.7039, allocations: 8 kB / 1.136 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7039, allocations: 4 kB / 1.136 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7039, allocations: 4 kB / 1.136 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007385/0.7047, allocations: 0.5096 MB / 1.137 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.7048, allocations: 152.5 kB / 1.137 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.7049, allocations: 4 kB / 1.137 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.7051, allocations: 19.98 kB / 1.137 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.7052, allocations: 11.98 kB / 1.137 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.7052, allocations: 15.94 kB / 1.137 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002863/0.7055, allocations: 303.1 kB / 1.137 GB, free: 280 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7055, allocations: 3.938 kB / 1.137 GB, free: 276 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003937/0.7059, allocations: 115.9 kB / 1.138 GB, free: 160 kB / 0.8887 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.001243/0.7072, allocations: 1.129 MB / 1.139 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004553/0.7076, allocations: 219.5 kB / 1.139 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7077, allocations: 4 kB / 1.139 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.7079, allocations: 117.5 kB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.7089, allocations: 227.9 kB / 1.139 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.7134, allocations: 3.732 MB / 1.143 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.7138, allocations: 0.8311 MB / 1.144 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.7141, allocations: 91.33 kB / 1.144 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.7142, allocations: 139.4 kB / 1.144 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.7143, allocations: 0 / 1.144 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.271/1.985, allocations: 11.98 MB / 1.156 GB, free: 13.73 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/10.43, allocations: 10.12 kB / 1.156 GB, free: 13.72 MB / 0.92 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches