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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 110.1 kB / 19.7 MB, free: 2.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002553/0.002553, allocations: 217.4 kB / 23.01 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.257/3.257, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 61.98 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4691, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.3038/0.773, allocations: 177.6 MB / 1.527 GB, free: 5.691 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.007009/0.78, allocations: 2.448 MB / 1.53 GB, free: 3.238 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.781, allocations: 19.81 kB / 1.53 GB, free: 3.219 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.7823, allocations: 242.4 kB / 1.53 GB, free: 2.98 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004474/0.7868, allocations: 1.014 MB / 1.531 GB, free: 1.965 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.7903, allocations: 0.8523 MB / 1.532 GB, free: 1.113 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002439/0.7928, allocations: 0.9972 MB / 1.533 GB, free: 116 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007182/0.7935, allocations: 267.4 kB / 1.533 GB, free: 15.85 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.7956, allocations: 0.619 MB / 1.534 GB, free: 15.23 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007693/0.7964, allocations: 330.6 kB / 1.534 GB, free: 14.9 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 8.884e-05/0.7965, allocations: 36 kB / 1.534 GB, free: 14.87 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003733/0.8002, allocations: 1.111 MB / 1.535 GB, free: 13.75 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.8005, allocations: 159.5 kB / 1.535 GB, free: 13.6 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004507/0.801, allocations: 238.8 kB / 1.536 GB, free: 13.36 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.8038, allocations: 0.9461 MB / 1.537 GB, free: 12.41 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.8038, allocations: 8 kB / 1.537 GB, free: 12.41 MB / 1.232 GB Notification: Performance of FrontEnd: time 4.529e-06/0.8038, allocations: 3.938 kB / 1.537 GB, free: 12.4 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.8038, allocations: 0 / 1.537 GB, free: 12.4 MB / 1.232 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.002127/0.806, allocations: 0.7416 MB / 1.537 GB, free: 11.63 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/0.806, allocations: 19.97 kB / 1.537 GB, free: 11.61 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.8088, allocations: 231.3 kB / 1.538 GB, free: 11.38 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.8099, allocations: 339.8 kB / 1.538 GB, free: 11.02 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.81, allocations: 24.66 kB / 1.538 GB, free: 11 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.8101, allocations: 28 kB / 1.538 GB, free: 10.97 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.8113, allocations: 401 kB / 1.538 GB, free: 10.55 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.8113, allocations: 3.938 kB / 1.538 GB, free: 10.55 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.8114, allocations: 12 kB / 1.538 GB, free: 10.54 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/0.8114, allocations: 15.94 kB / 1.538 GB, free: 10.52 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.8125, allocations: 305.7 kB / 1.539 GB, free: 10.23 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.8157, allocations: 1.696 MB / 1.54 GB, free: 8.402 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.8168, allocations: 268.3 kB / 1.54 GB, free: 8.133 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.8172, allocations: 140.6 kB / 1.541 GB, free: 7.992 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006905/0.8179, allocations: 79.84 kB / 1.541 GB, free: 7.914 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.818, allocations: 34.56 kB / 1.541 GB, free: 7.871 MB / 1.232 GB Notification: Performance of pre-optimization done (n=23): time 3.487e-06/0.818, allocations: 0 / 1.541 GB, free: 7.871 MB / 1.232 GB Notification: Performance of matching and sorting (n=23): time 0.001958/0.8199, allocations: 438.9 kB / 1.541 GB, free: 7.438 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.82, allocations: 51.41 kB / 1.541 GB, free: 7.375 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.8208, allocations: 422 kB / 1.542 GB, free: 6.957 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.8208, allocations: 33.7 kB / 1.542 GB, free: 6.918 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.8211, allocations: 216.4 kB / 1.542 GB, free: 6.703 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.8212, allocations: 79.27 kB / 1.542 GB, free: 6.625 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.8214, allocations: 57.66 kB / 1.542 GB, free: 6.562 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002396/0.8216, allocations: 358.7 kB / 1.542 GB, free: 6.203 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.8221, allocations: 103.9 kB / 1.542 GB, free: 6.102 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.8226, allocations: 152.5 kB / 1.543 GB, free: 5.941 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009022/0.8235, allocations: 250 kB / 1.543 GB, free: 5.688 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8235, allocations: 7.938 kB / 1.543 GB, free: 5.68 MB / 1.232 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001168/0.8247, allocations: 335.1 kB / 1.543 GB, free: 5.348 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.8247, allocations: 4 kB / 1.543 GB, free: 5.344 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.8247, allocations: 0 / 1.543 GB, free: 5.344 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.8247, allocations: 4 kB / 1.543 GB, free: 5.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.8252, allocations: 59.89 kB / 1.543 GB, free: 5.281 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.8252, allocations: 3.938 kB / 1.543 GB, free: 5.277 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.8257, allocations: 51.69 kB / 1.543 GB, free: 5.227 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.8258, allocations: 19.97 kB / 1.543 GB, free: 5.207 MB / 1.232 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.0003218/0.8261, allocations: 162.4 kB / 1.543 GB, free: 5.039 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.8262, allocations: 43.72 kB / 1.543 GB, free: 4.996 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.8274, allocations: 333.2 kB / 1.544 GB, free: 4.656 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8274, allocations: 4 kB / 1.544 GB, free: 4.652 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.8274, allocations: 3.938 kB / 1.544 GB, free: 4.648 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.8274, allocations: 3.984 kB / 1.544 GB, free: 4.645 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.8298, allocations: 0.8673 MB / 1.545 GB, free: 3.711 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.8298, allocations: 96 / 1.545 GB, free: 3.711 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.8302, allocations: 59.89 kB / 1.545 GB, free: 3.652 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/0.8303, allocations: 11.98 kB / 1.545 GB, free: 3.641 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.8303, allocations: 4 kB / 1.545 GB, free: 3.637 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/0.8303, allocations: 4.172 kB / 1.545 GB, free: 3.633 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8303, allocations: 8 kB / 1.545 GB, free: 3.625 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.832, allocations: 0.5964 MB / 1.545 GB, free: 2.996 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.8323, allocations: 75.66 kB / 1.545 GB, free: 2.922 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.084e-05/0.8324, allocations: 4 kB / 1.545 GB, free: 2.918 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/0.8329, allocations: 19.97 kB / 1.545 GB, free: 2.898 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/0.833, allocations: 27.91 kB / 1.545 GB, free: 2.871 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.833, allocations: 11.94 kB / 1.545 GB, free: 2.859 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005618/0.8336, allocations: 303.1 kB / 1.546 GB, free: 2.566 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8336, allocations: 4 kB / 1.546 GB, free: 2.562 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008011/0.8344, allocations: 107.9 kB / 1.546 GB, free: 2.457 MB / 1.232 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.0004477/0.8348, allocations: 155.1 kB / 1.546 GB, free: 2.297 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.8359, allocations: 255.7 kB / 1.546 GB, free: 2.047 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.8359, allocations: 4.062 kB / 1.546 GB, free: 2.043 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.8364, allocations: 135.8 kB / 1.546 GB, free: 1.91 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.8381, allocations: 221.5 kB / 1.547 GB, free: 1.695 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.841, allocations: 0.9909 MB / 1.548 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.8416, allocations: 0.8272 MB / 1.548 GB, free: 15.79 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.8418, allocations: 39.42 kB / 1.548 GB, free: 15.75 MB / 1.248 GB Notification: Performance of SimCode: time 1.092e-06/0.8418, allocations: 0 / 1.548 GB, free: 15.75 MB / 1.248 GB Notification: Performance of Templates: time 0.01638/0.8582, allocations: 6.967 MB / 1.555 GB, free: 8.855 MB / 1.248 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.978358002001187]