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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.001347/0.001347, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001421/0.001421, allocations: 197.8 kB / 16.14 MB, free: 6.648 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.584/2.584, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.98 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2266, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1497/0.3763, allocations: 171.6 MB / 1.22 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3794, allocations: 2.314 MB / 1.222 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.3796, allocations: 15.88 kB / 1.222 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.3801, allocations: 186.9 kB / 1.222 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.3816, allocations: 0.8714 MB / 1.223 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.383, allocations: 0.7584 MB / 1.224 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.3841, allocations: 1.341 MB / 1.225 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.3844, allocations: 282.3 kB / 1.225 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.3849, allocations: 422.3 kB / 1.226 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.3852, allocations: 322.6 kB / 1.226 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.3853, allocations: 20 kB / 1.226 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.3867, allocations: 1.169 MB / 1.227 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.3869, allocations: 143.5 kB / 1.227 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.3871, allocations: 226.8 kB / 1.228 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.3881, allocations: 0.9503 MB / 1.229 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3881, allocations: 7.984 kB / 1.229 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of FrontEnd: time 6.91e-07/0.3881, allocations: 0 / 1.229 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3881, allocations: 0 / 1.229 GB, free: 3.004 MB / 0.9825 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.001068/0.3892, allocations: 0.8061 MB / 1.229 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.3892, allocations: 11.97 kB / 1.229 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.3893, allocations: 66.55 kB / 1.229 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.3905, allocations: 187.1 kB / 1.23 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.3909, allocations: 369.5 kB / 1.23 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.391, allocations: 24.66 kB / 1.23 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.391, allocations: 32 kB / 1.23 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/0.3916, allocations: 369.1 kB / 1.23 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3916, allocations: 4 kB / 1.23 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.3916, allocations: 12 kB / 1.23 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.3917, allocations: 15.94 kB / 1.23 GB, free: 1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.3921, allocations: 262 kB / 1.231 GB, free: 0.7461 MB / 0.9825 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.001557/0.3937, allocations: 1.675 MB / 1.232 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.3941, allocations: 202.5 kB / 1.232 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.3943, allocations: 120.8 kB / 1.233 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009409/0.3952, allocations: 0.8662 MB / 1.233 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3953, allocations: 34.56 kB / 1.233 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.292e-06/0.3953, allocations: 0 / 1.233 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0007871/0.3961, allocations: 355.4 kB / 1.234 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3961, allocations: 59.34 kB / 1.234 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.3965, allocations: 425.9 kB / 1.234 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3965, allocations: 29.7 kB / 1.234 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3967, allocations: 216.2 kB / 1.234 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.3967, allocations: 82.73 kB / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.3968, allocations: 49.81 kB / 1.235 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3969, allocations: 366.7 kB / 1.235 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.3971, allocations: 71.95 kB / 1.235 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.3973, allocations: 127.4 kB / 1.235 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.3977, allocations: 209.9 kB / 1.235 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3977, allocations: 4 kB / 1.235 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004793/0.3982, allocations: 285 kB / 1.236 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3982, allocations: 4 kB / 1.236 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3982, allocations: 0 / 1.236 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3982, allocations: 4 kB / 1.236 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.3985, allocations: 51.91 kB / 1.236 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3985, allocations: 3.938 kB / 1.236 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.3987, allocations: 47.61 kB / 1.236 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3987, allocations: 12 kB / 1.236 GB, free: 11.08 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.0001445/0.3989, allocations: 161.8 kB / 1.236 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.3989, allocations: 39.53 kB / 1.236 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005249/0.3995, allocations: 296 kB / 1.236 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3995, allocations: 8 kB / 1.236 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3995, allocations: 7.875 kB / 1.236 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3995, allocations: 0 / 1.236 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.4006, allocations: 0.8083 MB / 1.237 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4006, allocations: 3.938 kB / 1.237 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.4008, allocations: 43.97 kB / 1.237 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4008, allocations: 4 kB / 1.237 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.4009, allocations: 8 kB / 1.237 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4009, allocations: 0 / 1.237 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4009, allocations: 7.938 kB / 1.237 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.4016, allocations: 0.5014 MB / 1.238 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.4017, allocations: 156.5 kB / 1.238 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.4018, allocations: 4 kB / 1.238 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.4021, allocations: 19.98 kB / 1.238 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.4021, allocations: 23.91 kB / 1.238 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4021, allocations: 11.94 kB / 1.238 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002759/0.4024, allocations: 307.1 kB / 1.238 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4024, allocations: 0 / 1.238 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003742/0.4028, allocations: 111.8 kB / 1.238 GB, free: 8.441 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.001164/0.404, allocations: 1.13 MB / 1.239 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.4044, allocations: 206.2 kB / 1.239 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4044, allocations: 3.938 kB / 1.239 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.4046, allocations: 119.9 kB / 1.24 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.4056, allocations: 213.6 kB / 1.24 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.41, allocations: 3.856 MB / 1.244 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.4103, allocations: 0.823 MB / 1.244 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002556/0.4106, allocations: 79.34 kB / 1.244 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.4107, allocations: 147.4 kB / 1.245 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of SimCode: time 1.352e-06/0.4108, allocations: 0 / 1.245 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4084/0.8192, allocations: 11.51 MB / 1.256 GB, free: 194 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/0.8193, allocations: 241.9 kB / 1.256 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.662, allocations: 0 / 1.256 GB, free: 193.8 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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