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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 114 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 201.2 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 250.2 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.646/2.646, allocations: 476.7 MB / 0.7637 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 67.91 kB / 1.108 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8985/0.9007, allocations: 168.7 MB / 1.273 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2081/1.109, allocations: 174.6 MB / 1.443 GB, free: 5.059 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.004793/1.114, allocations: 2.307 MB / 1.446 GB, free: 2.746 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006715/1.114, allocations: 11.94 kB / 1.446 GB, free: 2.734 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009313/1.115, allocations: 246.3 kB / 1.446 GB, free: 2.492 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002853/1.118, allocations: 0.9684 MB / 1.447 GB, free: 1.52 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/1.12, allocations: 0.8437 MB / 1.448 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001599/1.122, allocations: 0.9663 MB / 1.449 GB, free: 15.7 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006174/1.123, allocations: 268.9 kB / 1.449 GB, free: 15.44 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000999/1.124, allocations: 466.3 kB / 1.449 GB, free: 14.98 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/1.124, allocations: 330.6 kB / 1.45 GB, free: 14.66 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/1.124, allocations: 35.94 kB / 1.45 GB, free: 14.62 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/1.127, allocations: 1.056 MB / 1.451 GB, free: 13.56 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002492/1.127, allocations: 151.5 kB / 1.451 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004026/1.127, allocations: 234.8 kB / 1.451 GB, free: 13.18 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/1.129, allocations: 0.911 MB / 1.452 GB, free: 12.27 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.129, allocations: 0 / 1.452 GB, free: 12.27 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.362e-06/1.129, allocations: 0 / 1.452 GB, free: 12.27 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.615e-05/1.129, allocations: 0 / 1.452 GB, free: 12.27 MB / 1.154 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.001754/1.131, allocations: 0.8208 MB / 1.453 GB, free: 11.4 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.131, allocations: 16.03 kB / 1.453 GB, free: 11.38 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.671e-05/1.131, allocations: 58.55 kB / 1.453 GB, free: 11.32 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/1.132, allocations: 191.4 kB / 1.453 GB, free: 11.13 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/1.133, allocations: 393.7 kB / 1.453 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/1.133, allocations: 20.66 kB / 1.453 GB, free: 10.69 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/1.133, allocations: 32 kB / 1.453 GB, free: 10.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/1.134, allocations: 373.1 kB / 1.454 GB, free: 10.26 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/1.134, allocations: 0 / 1.454 GB, free: 10.26 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/1.134, allocations: 15.94 kB / 1.454 GB, free: 10.25 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/1.134, allocations: 11.94 kB / 1.454 GB, free: 10.23 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/1.135, allocations: 262 kB / 1.454 GB, free: 9.98 MB / 1.154 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.002233/1.137, allocations: 1.68 MB / 1.456 GB, free: 8.164 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/1.137, allocations: 194.5 kB / 1.456 GB, free: 7.965 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/1.138, allocations: 100.8 kB / 1.456 GB, free: 7.863 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.139, allocations: 0.874 MB / 1.457 GB, free: 6.805 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/1.139, allocations: 46.41 kB / 1.457 GB, free: 6.75 MB / 1.154 GB Notification: Performance of pre-optimization done (n=23): time 1.834e-06/1.139, allocations: 0 / 1.457 GB, free: 6.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=23): time 0.0009659/1.14, allocations: 352 kB / 1.457 GB, free: 6.402 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/1.14, allocations: 59.39 kB / 1.457 GB, free: 6.332 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/1.14, allocations: 429.9 kB / 1.458 GB, free: 5.906 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/1.14, allocations: 25.7 kB / 1.458 GB, free: 5.875 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/1.14, allocations: 216.4 kB / 1.458 GB, free: 5.66 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/1.141, allocations: 87.23 kB / 1.458 GB, free: 5.574 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/1.141, allocations: 49.7 kB / 1.458 GB, free: 5.52 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.141, allocations: 354.7 kB / 1.458 GB, free: 5.164 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/1.141, allocations: 75.95 kB / 1.458 GB, free: 5.09 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/1.141, allocations: 136 kB / 1.459 GB, free: 4.945 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/1.142, allocations: 205.9 kB / 1.459 GB, free: 4.734 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.142, allocations: 0 / 1.459 GB, free: 4.734 MB / 1.154 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005705/1.142, allocations: 289.2 kB / 1.459 GB, free: 4.445 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.142, allocations: 9.719 kB / 1.459 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.142, allocations: 0 / 1.459 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.142, allocations: 0 / 1.459 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/1.142, allocations: 51.91 kB / 1.459 GB, free: 4.387 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/1.142, allocations: 7.938 kB / 1.459 GB, free: 4.379 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/1.143, allocations: 31.77 kB / 1.459 GB, free: 4.348 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/1.143, allocations: 12 kB / 1.459 GB, free: 4.336 MB / 1.154 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.0001934/1.143, allocations: 165.8 kB / 1.459 GB, free: 4.164 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/1.143, allocations: 43.72 kB / 1.459 GB, free: 4.121 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/1.144, allocations: 289.2 kB / 1.46 GB, free: 3.832 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.144, allocations: 3.938 kB / 1.46 GB, free: 3.828 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.144, allocations: 3.938 kB / 1.46 GB, free: 3.824 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.144, allocations: 12.06 kB / 1.46 GB, free: 3.812 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/1.145, allocations: 0.8036 MB / 1.46 GB, free: 2.934 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.145, allocations: 4 kB / 1.46 GB, free: 2.93 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/1.145, allocations: 40.11 kB / 1.46 GB, free: 2.891 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.145, allocations: 8 kB / 1.46 GB, free: 2.883 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/1.145, allocations: 11.98 kB / 1.46 GB, free: 2.871 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/1.145, allocations: 4 kB / 1.46 GB, free: 2.867 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.145, allocations: 0 / 1.46 GB, free: 2.867 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/1.146, allocations: 0.5143 MB / 1.461 GB, free: 2.32 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/1.146, allocations: 144.8 kB / 1.461 GB, free: 2.16 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/1.146, allocations: 8 kB / 1.461 GB, free: 2.152 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/1.147, allocations: 15.98 kB / 1.461 GB, free: 2.137 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/1.147, allocations: 23.91 kB / 1.461 GB, free: 2.113 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/1.147, allocations: 12 kB / 1.461 GB, free: 2.102 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003493/1.147, allocations: 299.1 kB / 1.461 GB, free: 1.812 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.147, allocations: 0 / 1.461 GB, free: 1.812 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004664/1.148, allocations: 115.8 kB / 1.462 GB, free: 1.699 MB / 1.154 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.001535/1.149, allocations: 1.139 MB / 1.463 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005296/1.15, allocations: 207.7 kB / 1.463 GB, free: 324 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.15, allocations: 0 / 1.463 GB, free: 324 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/1.15, allocations: 103.8 kB / 1.463 GB, free: 220 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.151, allocations: 230.7 kB / 1.463 GB, free: 15.99 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/1.157, allocations: 3.691 MB / 1.467 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/1.158, allocations: 0.8233 MB / 1.468 GB, free: 11.32 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003854/1.158, allocations: 87.33 kB / 1.468 GB, free: 11.23 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/1.159, allocations: 147.3 kB / 1.468 GB, free: 11.09 MB / 1.17 GB Notification: Performance of SimCode: time 1.222e-06/1.159, allocations: 4 kB / 1.468 GB, free: 11.08 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0454/1.204, allocations: 12.18 MB / 1.48 GB, free: 15.14 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.699/9.903, allocations: 9.359 kB / 1.48 GB, free: 15.14 MB / 1.186 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.680469523184001]