Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_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.005096/0.005096, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.001247/0.001247, allocations: 192 kB / 16.67 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.522/2.522, allocations: 469.4 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 63.89 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2662, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.8348/1.101, allocations: 173.8 MB / 1.389 GB, free: 13.96 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003635/1.105, allocations: 2.301 MB / 1.392 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/1.105, allocations: 13.47 kB / 1.392 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006869/1.106, allocations: 236.7 kB / 1.392 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/1.108, allocations: 0.9728 MB / 1.393 GB, free: 11.14 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/1.11, allocations: 0.8314 MB / 1.394 GB, free: 10.54 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001073/1.111, allocations: 0.9686 MB / 1.395 GB, free: 9.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/1.111, allocations: 329.3 kB / 1.395 GB, free: 9.777 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006396/1.112, allocations: 468.4 kB / 1.395 GB, free: 9.52 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/1.112, allocations: 315.6 kB / 1.396 GB, free: 9.332 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/1.112, allocations: 32.28 kB / 1.396 GB, free: 9.332 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/1.114, allocations: 0.9983 MB / 1.397 GB, free: 8.77 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/1.114, allocations: 152.5 kB / 1.397 GB, free: 8.664 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/1.114, allocations: 235.4 kB / 1.397 GB, free: 8.52 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/1.115, allocations: 0.9029 MB / 1.398 GB, free: 7.977 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.115, allocations: 0 / 1.398 GB, free: 7.977 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.244e-06/1.115, allocations: 1.062 kB / 1.398 GB, free: 7.977 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.115, allocations: 4 kB / 1.398 GB, free: 7.973 MB / 1.092 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.001193/1.117, allocations: 0.8228 MB / 1.399 GB, free: 7.27 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/1.117, allocations: 10.12 kB / 1.399 GB, free: 7.27 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.752e-05/1.117, allocations: 64.59 kB / 1.399 GB, free: 7.207 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/1.118, allocations: 189 kB / 1.399 GB, free: 7.113 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/1.119, allocations: 394.2 kB / 1.399 GB, free: 6.766 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/1.119, allocations: 26.06 kB / 1.399 GB, free: 6.754 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/1.119, allocations: 28.84 kB / 1.399 GB, free: 6.746 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/1.119, allocations: 366.7 kB / 1.4 GB, free: 6.5 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.119, allocations: 5.25 kB / 1.4 GB, free: 6.496 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/1.119, allocations: 14.81 kB / 1.4 GB, free: 6.484 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/1.119, allocations: 15 kB / 1.4 GB, free: 6.48 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/1.12, allocations: 250.6 kB / 1.4 GB, free: 6.371 MB / 1.092 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.001688/1.121, allocations: 1.678 MB / 1.402 GB, free: 4.82 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/1.122, allocations: 208.8 kB / 1.402 GB, free: 4.711 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/1.122, allocations: 115.1 kB / 1.402 GB, free: 4.656 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008968/1.123, allocations: 0.8704 MB / 1.403 GB, free: 3.676 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/1.123, allocations: 35.64 kB / 1.403 GB, free: 3.633 MB / 1.092 GB Notification: Performance of pre-optimization done (n=23): time 2.565e-06/1.123, allocations: 4.109 kB / 1.403 GB, free: 3.629 MB / 1.092 GB Notification: Performance of matching and sorting (n=23): time 0.0008506/1.124, allocations: 356.2 kB / 1.403 GB, free: 3.453 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/1.124, allocations: 53.91 kB / 1.403 GB, free: 3.391 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/1.124, allocations: 423.6 kB / 1.404 GB, free: 3.133 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/1.124, allocations: 31.05 kB / 1.404 GB, free: 3.098 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/1.125, allocations: 218.6 kB / 1.404 GB, free: 2.898 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/1.125, allocations: 92.16 kB / 1.404 GB, free: 2.816 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/1.125, allocations: 50.02 kB / 1.404 GB, free: 2.781 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.125, allocations: 353.3 kB / 1.404 GB, free: 2.438 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/1.125, allocations: 81.5 kB / 1.405 GB, free: 2.398 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/1.125, allocations: 123.6 kB / 1.405 GB, free: 2.32 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/1.126, allocations: 208.8 kB / 1.405 GB, free: 2.199 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.126, allocations: 1.25 kB / 1.405 GB, free: 2.199 MB / 1.092 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004969/1.126, allocations: 285.9 kB / 1.405 GB, free: 2.047 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.126, allocations: 9.969 kB / 1.405 GB, free: 2.043 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/1.126, allocations: 4.75 kB / 1.405 GB, free: 2.039 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.126, allocations: 2.969 kB / 1.405 GB, free: 2.039 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/1.126, allocations: 55.72 kB / 1.405 GB, free: 2.023 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.126, allocations: 1.531 kB / 1.405 GB, free: 2.023 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/1.127, allocations: 33.69 kB / 1.405 GB, free: 2 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/1.127, allocations: 8.312 kB / 1.405 GB, free: 2 MB / 1.092 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.000155/1.127, allocations: 169.7 kB / 1.405 GB, free: 1.848 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/1.127, allocations: 47.72 kB / 1.405 GB, free: 1.82 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/1.127, allocations: 288.2 kB / 1.406 GB, free: 1.656 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.128, allocations: 2.625 kB / 1.406 GB, free: 1.656 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.128, allocations: 0 / 1.406 GB, free: 1.656 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.128, allocations: 3.938 kB / 1.406 GB, free: 1.652 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/1.129, allocations: 0.8071 MB / 1.406 GB, free: 1.004 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.129, allocations: 5 kB / 1.406 GB, free: 1.004 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/1.129, allocations: 50.28 kB / 1.407 GB, free: 0.9883 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.129, allocations: 2.75 kB / 1.407 GB, free: 0.9883 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/1.129, allocations: 4.312 kB / 1.407 GB, free: 0.9883 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.129, allocations: 6.75 kB / 1.407 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.129, allocations: 6.688 kB / 1.407 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/1.13, allocations: 0.5073 MB / 1.407 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/1.13, allocations: 145.4 kB / 1.407 GB, free: 492 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/1.13, allocations: 6.75 kB / 1.407 GB, free: 488 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/1.13, allocations: 20.11 kB / 1.407 GB, free: 476 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/1.13, allocations: 27.89 kB / 1.407 GB, free: 456 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/1.13, allocations: 7.812 kB / 1.407 GB, free: 456 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003025/1.131, allocations: 303.3 kB / 1.408 GB, free: 264 kB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/1.131, allocations: 0 / 1.408 GB, free: 264 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.000423/1.131, allocations: 121.5 kB / 1.408 GB, free: 236 kB / 1.092 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.001298/1.132, allocations: 1.138 MB / 1.409 GB, free: 15.3 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004495/1.133, allocations: 209.2 kB / 1.409 GB, free: 15.21 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.133, allocations: 4.062 kB / 1.409 GB, free: 15.21 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/1.133, allocations: 117.9 kB / 1.409 GB, free: 15.16 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.134, allocations: 217.6 kB / 1.409 GB, free: 15.05 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/1.138, allocations: 3.701 MB / 1.413 GB, free: 12.47 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/1.139, allocations: 0.8226 MB / 1.414 GB, free: 11.71 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002579/1.139, allocations: 90.48 kB / 1.414 GB, free: 11.67 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/1.139, allocations: 138.2 kB / 1.414 GB, free: 11.56 MB / 1.107 GB Notification: Performance of SimCode: time 3.3e-07/1.139, allocations: 0 / 1.414 GB, free: 11.56 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/1.169, allocations: 12.11 MB / 1.426 GB, free: 2.523 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.886, allocations: 6.625 kB / 1.426 GB, free: 2.52 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches