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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 108.1 kB / 16.4 MB, free: 6.492 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.002074/0.002074, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.348/1.348, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.708/2.708, allocations: 489 MB / 0.7678 GB, free: 4 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 1.101 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7973/0.7991, allocations: 163.8 MB / 1.261 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1955/0.9947, allocations: 173.9 MB / 1.431 GB, free: 8.641 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003975/0.9987, allocations: 2.295 MB / 1.433 GB, free: 6.34 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004884/0.9992, allocations: 11.94 kB / 1.433 GB, free: 6.328 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007497/1, allocations: 238.3 kB / 1.433 GB, free: 6.094 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/1.002, allocations: 0.9138 MB / 1.434 GB, free: 5.176 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/1.004, allocations: 0.8397 MB / 1.435 GB, free: 4.34 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001343/1.006, allocations: 0.9545 MB / 1.436 GB, free: 3.383 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005169/1.006, allocations: 327 kB / 1.436 GB, free: 3.059 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/1.007, allocations: 0.5877 MB / 1.437 GB, free: 2.469 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/1.008, allocations: 306.7 kB / 1.437 GB, free: 2.168 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/1.008, allocations: 40 kB / 1.437 GB, free: 2.129 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/1.01, allocations: 0.982 MB / 1.438 GB, free: 1.145 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/1.01, allocations: 143.6 kB / 1.438 GB, free: 1.004 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002509/1.01, allocations: 238.8 kB / 1.438 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/1.012, allocations: 0.9022 MB / 1.439 GB, free: 15.87 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.012, allocations: 4 kB / 1.439 GB, free: 15.86 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.202e-06/1.012, allocations: 0 / 1.439 GB, free: 15.86 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.012, allocations: 0 / 1.439 GB, free: 15.86 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.001288/1.013, allocations: 0.8207 MB / 1.44 GB, free: 14.99 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.013, allocations: 12.03 kB / 1.44 GB, free: 14.98 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.847e-05/1.013, allocations: 66.53 kB / 1.44 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/1.014, allocations: 183.4 kB / 1.44 GB, free: 14.73 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006451/1.015, allocations: 397.7 kB / 1.441 GB, free: 14.3 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/1.015, allocations: 24.66 kB / 1.441 GB, free: 14.28 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/1.015, allocations: 28 kB / 1.441 GB, free: 14.25 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/1.016, allocations: 373.1 kB / 1.441 GB, free: 13.86 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/1.016, allocations: 0 / 1.441 GB, free: 13.86 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/1.016, allocations: 19.94 kB / 1.441 GB, free: 13.84 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/1.016, allocations: 11.98 kB / 1.441 GB, free: 13.82 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/1.016, allocations: 262 kB / 1.441 GB, free: 13.57 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/1.018, allocations: 1.668 MB / 1.443 GB, free: 11.77 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/1.019, allocations: 218.3 kB / 1.443 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/1.019, allocations: 115.6 kB / 1.443 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/1.02, allocations: 0.8662 MB / 1.444 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.02, allocations: 38.55 kB / 1.444 GB, free: 10.33 MB / 1.154 GB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/1.02, allocations: 0 / 1.444 GB, free: 10.33 MB / 1.154 GB Notification: Performance of matching and sorting (n=23): time 0.0009159/1.021, allocations: 357.1 kB / 1.445 GB, free: 9.977 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.021, allocations: 59.33 kB / 1.445 GB, free: 9.906 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/1.021, allocations: 425.9 kB / 1.445 GB, free: 9.48 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/1.021, allocations: 25.7 kB / 1.445 GB, free: 9.449 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/1.022, allocations: 212.5 kB / 1.445 GB, free: 9.238 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.271e-05/1.022, allocations: 91.22 kB / 1.445 GB, free: 9.148 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/1.022, allocations: 49.7 kB / 1.445 GB, free: 9.094 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.022, allocations: 358.7 kB / 1.446 GB, free: 8.734 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.022, allocations: 75.95 kB / 1.446 GB, free: 8.66 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/1.022, allocations: 123.4 kB / 1.446 GB, free: 8.527 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/1.023, allocations: 207.9 kB / 1.446 GB, free: 8.312 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.023, allocations: 3.938 kB / 1.446 GB, free: 8.309 MB / 1.154 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005283/1.023, allocations: 287.5 kB / 1.446 GB, free: 8.023 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.023, allocations: 8 kB / 1.446 GB, free: 8.016 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.023, allocations: 0 / 1.446 GB, free: 8.016 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.023, allocations: 4 kB / 1.446 GB, free: 8.012 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/1.024, allocations: 55.91 kB / 1.447 GB, free: 7.957 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.024, allocations: 7.969 kB / 1.447 GB, free: 7.949 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/1.024, allocations: 27.77 kB / 1.447 GB, free: 7.922 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/1.024, allocations: 12 kB / 1.447 GB, free: 7.91 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.0001645/1.024, allocations: 161.8 kB / 1.447 GB, free: 7.742 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/1.024, allocations: 43.72 kB / 1.447 GB, free: 7.699 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/1.025, allocations: 290.5 kB / 1.447 GB, free: 7.41 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.025, allocations: 4 kB / 1.447 GB, free: 7.406 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.025, allocations: 7.938 kB / 1.447 GB, free: 7.398 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/1.025, allocations: 4.094 kB / 1.447 GB, free: 7.395 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/1.026, allocations: 0.809 MB / 1.448 GB, free: 6.512 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.026, allocations: 7.938 kB / 1.448 GB, free: 6.504 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/1.026, allocations: 39.98 kB / 1.448 GB, free: 6.465 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.026, allocations: 0 / 1.448 GB, free: 6.465 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/1.026, allocations: 11.98 kB / 1.448 GB, free: 6.453 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.026, allocations: 4 kB / 1.448 GB, free: 6.449 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.026, allocations: 3.938 kB / 1.448 GB, free: 6.445 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/1.027, allocations: 0.5057 MB / 1.448 GB, free: 5.906 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/1.027, allocations: 148.8 kB / 1.449 GB, free: 5.742 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/1.027, allocations: 8 kB / 1.449 GB, free: 5.734 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/1.028, allocations: 15.98 kB / 1.449 GB, free: 5.719 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/1.028, allocations: 23.84 kB / 1.449 GB, free: 5.695 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/1.028, allocations: 12 kB / 1.449 GB, free: 5.684 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003374/1.028, allocations: 299.1 kB / 1.449 GB, free: 5.391 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/1.028, allocations: 4 kB / 1.449 GB, free: 5.387 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004411/1.029, allocations: 115.8 kB / 1.449 GB, free: 5.273 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.001448/1.03, allocations: 1.143 MB / 1.45 GB, free: 4.094 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004986/1.03, allocations: 218.1 kB / 1.45 GB, free: 3.883 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.03, allocations: 0 / 1.45 GB, free: 3.883 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/1.031, allocations: 112.3 kB / 1.45 GB, free: 3.773 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/1.032, allocations: 225.2 kB / 1.451 GB, free: 3.555 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/1.037, allocations: 3.684 MB / 1.454 GB, free: 15.74 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/1.037, allocations: 0.8233 MB / 1.455 GB, free: 14.89 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002962/1.038, allocations: 91.33 kB / 1.455 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/1.038, allocations: 139.4 kB / 1.455 GB, free: 14.67 MB / 1.17 GB Notification: Performance of SimCode: time 4.01e-07/1.038, allocations: 3.938 kB / 1.455 GB, free: 14.66 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/1.075, allocations: 12.09 MB / 1.467 GB, free: 2.797 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/9.47, allocations: 19.8 kB / 1.467 GB, free: 2.777 MB / 1.17 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.268782840110362]