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.001894/0.001894, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002186/0.002186, allocations: 186 kB / 20.78 MB, free: 1.547 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 2.006/2.006, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.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.852/2.852, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.88 kB / 1.136 GB, free: 12.44 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.906/0.9079, allocations: 173.6 MB / 1.305 GB, free: 33.38 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2063/1.114, allocations: 174.7 MB / 1.476 GB, free: 2.707 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004633/1.119, allocations: 2.313 MB / 1.478 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007974/1.12, allocations: 16.72 kB / 1.478 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009214/1.121, allocations: 237.2 kB / 1.478 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002721/1.123, allocations: 0.9634 MB / 1.479 GB, free: 28 kB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/1.126, allocations: 0.8449 MB / 1.48 GB, free: 15.41 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001623/1.128, allocations: 0.9635 MB / 1.481 GB, free: 14.86 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005995/1.128, allocations: 272.8 kB / 1.481 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/1.13, allocations: 0.6027 MB / 1.482 GB, free: 14.31 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000598/1.13, allocations: 323.8 kB / 1.482 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.022e-05/1.13, allocations: 32.66 kB / 1.482 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/1.132, allocations: 1.047 MB / 1.483 GB, free: 13.52 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/1.133, allocations: 151.5 kB / 1.484 GB, free: 13.41 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003802/1.133, allocations: 232.8 kB / 1.484 GB, free: 13.27 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/1.135, allocations: 0.901 MB / 1.485 GB, free: 12.73 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/1.135, allocations: 1.344 kB / 1.485 GB, free: 12.73 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.713e-06/1.135, allocations: 4 kB / 1.485 GB, free: 12.72 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.608e-05/1.135, allocations: 0 / 1.485 GB, free: 12.72 MB / 1.17 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.001637/1.137, allocations: 0.8241 MB / 1.485 GB, free: 12.02 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/1.137, allocations: 9.25 kB / 1.485 GB, free: 12.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/1.138, allocations: 186.9 kB / 1.486 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007558/1.139, allocations: 392.5 kB / 1.486 GB, free: 11.58 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/1.139, allocations: 20.31 kB / 1.486 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/1.139, allocations: 36.69 kB / 1.486 GB, free: 11.56 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/1.139, allocations: 367.9 kB / 1.486 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.139, allocations: 5.094 kB / 1.486 GB, free: 11.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/1.14, allocations: 11.28 kB / 1.486 GB, free: 11.3 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/1.14, allocations: 13.56 kB / 1.486 GB, free: 11.29 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/1.14, allocations: 259.3 kB / 1.487 GB, free: 11.17 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/1.142, allocations: 1.678 MB / 1.488 GB, free: 9.625 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/1.143, allocations: 197.3 kB / 1.489 GB, free: 9.52 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/1.143, allocations: 103.2 kB / 1.489 GB, free: 9.469 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.144, allocations: 0.8768 MB / 1.489 GB, free: 8.48 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/1.144, allocations: 32.73 kB / 1.489 GB, free: 8.441 MB / 1.17 GB Notification: Performance of pre-optimization done (n=23): time 2.324e-06/1.144, allocations: 7.938 kB / 1.49 GB, free: 8.434 MB / 1.17 GB Notification: Performance of matching and sorting (n=23): time 0.0009884/1.145, allocations: 355.5 kB / 1.49 GB, free: 8.262 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.145, allocations: 58.03 kB / 1.49 GB, free: 8.195 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/1.146, allocations: 419.2 kB / 1.49 GB, free: 7.941 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/1.146, allocations: 26.92 kB / 1.49 GB, free: 7.91 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/1.146, allocations: 222 kB / 1.491 GB, free: 7.711 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.43e-05/1.146, allocations: 88.94 kB / 1.491 GB, free: 7.633 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/1.146, allocations: 50.64 kB / 1.491 GB, free: 7.598 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002199/1.146, allocations: 352.2 kB / 1.491 GB, free: 7.254 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/1.147, allocations: 73.83 kB / 1.491 GB, free: 7.223 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/1.147, allocations: 128.4 kB / 1.491 GB, free: 7.141 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/1.147, allocations: 207.6 kB / 1.491 GB, free: 7.023 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.147, allocations: 0 / 1.491 GB, free: 7.023 MB / 1.17 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000582/1.148, allocations: 282.8 kB / 1.492 GB, free: 6.875 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.148, allocations: 9.125 kB / 1.492 GB, free: 6.871 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.148, allocations: 1.375 kB / 1.492 GB, free: 6.871 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.148, allocations: 9.422 kB / 1.492 GB, free: 6.863 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/1.148, allocations: 51.89 kB / 1.492 GB, free: 6.852 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.148, allocations: 6.281 kB / 1.492 GB, free: 6.848 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/1.149, allocations: 32.98 kB / 1.492 GB, free: 6.824 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/1.149, allocations: 8.438 kB / 1.492 GB, free: 6.824 MB / 1.17 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.0001879/1.149, allocations: 164.1 kB / 1.492 GB, free: 6.676 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/1.149, allocations: 49 kB / 1.492 GB, free: 6.648 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/1.149, allocations: 278.9 kB / 1.492 GB, free: 6.488 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/1.149, allocations: 6.359 kB / 1.492 GB, free: 6.484 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.149, allocations: 3.938 kB / 1.492 GB, free: 6.48 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.149, allocations: 0.9688 kB / 1.492 GB, free: 6.48 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/1.151, allocations: 0.814 MB / 1.493 GB, free: 5.824 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.151, allocations: 1.875 kB / 1.493 GB, free: 5.824 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/1.151, allocations: 47.28 kB / 1.493 GB, free: 5.812 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.151, allocations: 2.75 kB / 1.493 GB, free: 5.812 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/1.151, allocations: 11.53 kB / 1.493 GB, free: 5.805 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.151, allocations: 6.25 kB / 1.493 GB, free: 5.801 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.151, allocations: 2.281 kB / 1.493 GB, free: 5.801 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/1.152, allocations: 0.5087 MB / 1.494 GB, free: 5.441 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/1.152, allocations: 141.5 kB / 1.494 GB, free: 5.305 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/1.152, allocations: 15.64 kB / 1.494 GB, free: 5.293 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/1.153, allocations: 19.48 kB / 1.494 GB, free: 5.281 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/1.153, allocations: 17.05 kB / 1.494 GB, free: 5.273 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/1.153, allocations: 18.69 kB / 1.494 GB, free: 5.262 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003686/1.153, allocations: 299.7 kB / 1.494 GB, free: 5.078 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.153, allocations: 0 / 1.494 GB, free: 5.078 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005131/1.154, allocations: 117.9 kB / 1.494 GB, free: 5.055 MB / 1.17 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.000475/1.154, allocations: 204.6 kB / 1.494 GB, free: 4.91 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005344/1.155, allocations: 202.8 kB / 1.495 GB, free: 4.824 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.155, allocations: 0 / 1.495 GB, free: 4.824 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/1.155, allocations: 117 kB / 1.495 GB, free: 4.77 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/1.156, allocations: 221.4 kB / 1.495 GB, free: 4.652 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/1.158, allocations: 0.9164 MB / 1.496 GB, free: 4.004 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/1.158, allocations: 0.8269 MB / 1.497 GB, free: 3.242 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003552/1.159, allocations: 89.14 kB / 1.497 GB, free: 3.195 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/1.159, allocations: 33.09 kB / 1.497 GB, free: 3.188 MB / 1.17 GB Notification: Performance of SimCode: time 8.81e-07/1.159, allocations: 4 kB / 1.497 GB, free: 3.184 MB / 1.17 GB Notification: Performance of Templates: time 0.01647/1.175, allocations: 8.19 MB / 1.505 GB, free: 11.71 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.848481650464237]