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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001151/0.001151, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01009/0.01009, allocations: 169 kB / 16.26 MB, free: 6.652 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.595/1.595, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.561/2.561, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003649, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8334/0.8337, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2389/1.073, allocations: 169.3 MB / 1.121 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005122/1.078, allocations: 2.307 MB / 1.123 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/1.078, allocations: 15.88 kB / 1.123 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009186/1.079, allocations: 174.9 kB / 1.123 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0024/1.082, allocations: 0.883 MB / 1.124 GB, free: 2 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/1.084, allocations: 0.7497 MB / 1.125 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001836/1.086, allocations: 1.333 MB / 1.126 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/1.086, allocations: 286.3 kB / 1.126 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000679/1.087, allocations: 410.4 kB / 1.127 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/1.088, allocations: 326.6 kB / 1.127 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/1.088, allocations: 16 kB / 1.127 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/1.09, allocations: 1.161 MB / 1.128 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/1.09, allocations: 143.5 kB / 1.128 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002555/1.09, allocations: 240.6 kB / 1.128 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/1.091, allocations: 0.9463 MB / 1.129 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.091, allocations: 4 kB / 1.129 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.884e-06/1.091, allocations: 0 / 1.129 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.308e-06/1.091, allocations: 0 / 1.129 GB, free: 12.39 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.001278/1.093, allocations: 0.7321 MB / 1.13 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/1.093, allocations: 12.03 kB / 1.13 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.891e-05/1.093, allocations: 62.53 kB / 1.13 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/1.094, allocations: 183.2 kB / 1.13 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/1.095, allocations: 369.4 kB / 1.131 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/1.095, allocations: 28.64 kB / 1.131 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/1.095, allocations: 28 kB / 1.131 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006243/1.095, allocations: 373.1 kB / 1.131 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/1.095, allocations: 3.984 kB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/1.095, allocations: 23.94 kB / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/1.095, allocations: 12 kB / 1.131 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/1.096, allocations: 266 kB / 1.131 GB, free: 10.21 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.00184/1.098, allocations: 1.679 MB / 1.133 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/1.098, allocations: 214.3 kB / 1.133 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/1.098, allocations: 120.8 kB / 1.133 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/1.1, allocations: 0.8857 MB / 1.134 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/1.1, allocations: 34.56 kB / 1.134 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/1.1, allocations: 0 / 1.134 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.0009131/1.101, allocations: 375.1 kB / 1.134 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/1.101, allocations: 55.41 kB / 1.135 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/1.101, allocations: 421.9 kB / 1.135 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/1.101, allocations: 29.7 kB / 1.135 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/1.101, allocations: 212.3 kB / 1.135 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/1.101, allocations: 90.73 kB / 1.135 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/1.101, allocations: 25.7 kB / 1.135 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.102, allocations: 358.7 kB / 1.136 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/1.102, allocations: 87.88 kB / 1.136 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/1.102, allocations: 129 kB / 1.136 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/1.103, allocations: 216.5 kB / 1.136 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.103, allocations: 0 / 1.136 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005547/1.103, allocations: 294.9 kB / 1.136 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.103, allocations: 5.562 kB / 1.136 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.103, allocations: 4 kB / 1.136 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.103, allocations: 4.031 kB / 1.136 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/1.103, allocations: 59.91 kB / 1.136 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.103, allocations: 3.938 kB / 1.136 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/1.104, allocations: 47.58 kB / 1.136 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/1.104, allocations: 8 kB / 1.136 GB, free: 4.484 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.0001835/1.104, allocations: 161.9 kB / 1.137 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/1.104, allocations: 47.45 kB / 1.137 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/1.105, allocations: 285.2 kB / 1.137 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/1.105, allocations: 8 kB / 1.137 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.105, allocations: 3.938 kB / 1.137 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.105, allocations: 3.984 kB / 1.137 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/1.106, allocations: 0.8191 MB / 1.138 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.106, allocations: 4 kB / 1.138 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/1.106, allocations: 47.92 kB / 1.138 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/1.106, allocations: 7.984 kB / 1.138 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/1.106, allocations: 12.19 kB / 1.138 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.106, allocations: 4 kB / 1.138 GB, free: 3 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.106, allocations: 0 / 1.138 GB, free: 3 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/1.107, allocations: 0.5178 MB / 1.138 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/1.107, allocations: 148.5 kB / 1.138 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/1.107, allocations: 12 kB / 1.138 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/1.108, allocations: 27.97 kB / 1.139 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/1.108, allocations: 20.05 kB / 1.139 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/1.108, allocations: 15.98 kB / 1.139 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003354/1.108, allocations: 303.1 kB / 1.139 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.108, allocations: 0 / 1.139 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000447/1.109, allocations: 115.8 kB / 1.139 GB, free: 1.805 MB / 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.001521/1.11, allocations: 1.152 MB / 1.14 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004895/1.111, allocations: 224.8 kB / 1.14 GB, free: 408 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.111, allocations: 4 kB / 1.14 GB, free: 404 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/1.111, allocations: 122.3 kB / 1.14 GB, free: 284 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.112, allocations: 207 kB / 1.141 GB, free: 80 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/1.117, allocations: 3.946 MB / 1.144 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/1.118, allocations: 0.8269 MB / 1.145 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002914/1.118, allocations: 87.34 kB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.118, allocations: 139.4 kB / 1.145 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of SimCode: time 4.5e-07/1.118, allocations: 0 / 1.145 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/1.143, allocations: 11.37 MB / 1.157 GB, free: 15.8 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/1.143, allocations: 237.2 kB / 1.157 GB, free: 15.54 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.385, allocations: 4 kB / 1.157 GB, free: 15.54 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