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.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.0014/0.0014, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001566/0.001566, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.475/1.475, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.7/2.7, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.051e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2153/0.2153, allocations: 153.4 MB / 0.9361 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004724/0.22, allocations: 2.168 MB / 0.9383 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006479/0.2207, allocations: 23.81 kB / 0.9383 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.2217, allocations: 238.3 kB / 0.9385 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.2248, allocations: 0.96 MB / 0.9395 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.2274, allocations: 0.8875 MB / 0.9403 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.2292, allocations: 0.9815 MB / 0.9413 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006554/0.2298, allocations: 279.5 kB / 0.9415 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.2312, allocations: 0.5764 MB / 0.9421 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005929/0.2318, allocations: 279.1 kB / 0.9424 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.937e-05/0.2319, allocations: 32 kB / 0.9424 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.2339, allocations: 0.8411 MB / 0.9432 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.2341, allocations: 171.4 kB / 0.9434 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000317/0.2345, allocations: 159.6 kB / 0.9435 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.2365, allocations: 0.923 MB / 0.9444 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2365, allocations: 0 / 0.9444 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2365, allocations: 0 / 0.9444 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.2365, allocations: 0 / 0.9444 GB, free: 10.4 MB / 0.9011 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.001812/0.2383, allocations: 0.7416 MB / 0.9452 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2384, allocations: 8.031 kB / 0.9452 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.2399, allocations: 254.9 kB / 0.9454 GB, free: 9.367 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007972/0.2407, allocations: 335.9 kB / 0.9457 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.2407, allocations: 24.66 kB / 0.9458 GB, free: 8.988 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.326e-05/0.2408, allocations: 32 kB / 0.9458 GB, free: 8.957 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007958/0.2416, allocations: 420.4 kB / 0.9462 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2416, allocations: 0 / 0.9462 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.2416, allocations: 16 kB / 0.9462 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.2416, allocations: 11.94 kB / 0.9462 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006693/0.2423, allocations: 265.7 kB / 0.9465 GB, free: 8.227 MB / 0.9011 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.003/0.2453, allocations: 1.25 MB / 0.9477 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.2458, allocations: 190.4 kB / 0.9479 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.246, allocations: 112.8 kB / 0.948 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007474/0.2468, allocations: 128 kB / 0.9481 GB, free: 6.488 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.2468, allocations: 38.5 kB / 0.9481 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=23): time 2.655e-06/0.2468, allocations: 4 kB / 0.9481 GB, free: 6.438 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23): time 0.001214/0.248, allocations: 362.6 kB / 0.9485 GB, free: 6.078 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.2481, allocations: 55.41 kB / 0.9485 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.2486, allocations: 321.7 kB / 0.9489 GB, free: 5.691 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.2486, allocations: 29.7 kB / 0.9489 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.2488, allocations: 224.5 kB / 0.9491 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.249, allocations: 83.25 kB / 0.9492 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.2491, allocations: 53.66 kB / 0.9492 GB, free: 5.293 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.2493, allocations: 342.8 kB / 0.9496 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.2495, allocations: 79.94 kB / 0.9496 GB, free: 4.871 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.2498, allocations: 174.8 kB / 0.9498 GB, free: 4.676 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.2503, allocations: 213.3 kB / 0.95 GB, free: 4.457 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2503, allocations: 4 kB / 0.95 GB, free: 4.453 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006542/0.2509, allocations: 281.2 kB / 0.9503 GB, free: 4.172 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.2509, allocations: 8 kB / 0.9503 GB, free: 4.164 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2509, allocations: 0 / 0.9503 GB, free: 4.164 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.251, allocations: 4.062 kB / 0.9503 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.2512, allocations: 47.97 kB / 0.9503 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.2512, allocations: 7.938 kB / 0.9503 GB, free: 4.105 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.2515, allocations: 23.88 kB / 0.9504 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.2515, allocations: 12 kB / 0.9504 GB, free: 4.07 MB / 0.9011 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.000245/0.2518, allocations: 153.8 kB / 0.9505 GB, free: 3.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2519, allocations: 47.77 kB / 0.9506 GB, free: 3.863 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007125/0.2526, allocations: 291.5 kB / 0.9508 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2526, allocations: 4 kB / 0.9508 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2526, allocations: 0 / 0.9508 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2526, allocations: 0 / 0.9508 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.2541, allocations: 0.7016 MB / 0.9515 GB, free: 2.812 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.2541, allocations: 8.188 kB / 0.9515 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.2544, allocations: 43.91 kB / 0.9516 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.2544, allocations: 4 kB / 0.9516 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.2544, allocations: 8 kB / 0.9516 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/0.2544, allocations: 7.938 kB / 0.9516 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2544, allocations: 0 / 0.9516 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.2556, allocations: 0.5001 MB / 0.9521 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.2557, allocations: 67.66 kB / 0.9521 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.2558, allocations: 7.938 kB / 0.9522 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.2561, allocations: 15.98 kB / 0.9522 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.2561, allocations: 19.97 kB / 0.9522 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.2562, allocations: 11.98 kB / 0.9522 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003032/0.2565, allocations: 227.2 kB / 0.9524 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.2565, allocations: 0 / 0.9524 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005779/0.257, allocations: 127.7 kB / 0.9525 GB, free: 1.738 MB / 0.9011 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.0004073/0.2575, allocations: 187.2 kB / 0.9527 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005641/0.258, allocations: 203.7 kB / 0.9529 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.258, allocations: 0 / 0.9529 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.2583, allocations: 114.6 kB / 0.953 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/0.2593, allocations: 166.6 kB / 0.9532 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.2612, allocations: 0.8074 MB / 0.954 GB, free: 236 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.2615, allocations: 227.1 kB / 0.9542 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003163/0.2618, allocations: 70.91 kB / 0.9543 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.2619, allocations: 32.5 kB / 0.9543 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of SimCode: time 1.052e-06/0.2619, allocations: 0 / 0.9543 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of Templates: time 0.01607/0.278, allocations: 6.585 MB / 0.9607 GB, free: 9.492 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.248133510933258]