Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001857/0.001857, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002245/0.002245, allocations: 188.5 kB / 22.22 MB, free: 5.098 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.638/1.638, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_10_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_10_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 59.91 kB / 1.061 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 160.8 MB / 1.218 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2197/1.261, allocations: 174.6 MB / 1.389 GB, free: 7.988 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004793/1.266, allocations: 2.314 MB / 1.391 GB, free: 5.668 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004861/1.267, allocations: 19.81 kB / 1.391 GB, free: 5.648 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008379/1.268, allocations: 234.4 kB / 1.392 GB, free: 5.418 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002531/1.27, allocations: 0.984 MB / 1.392 GB, free: 4.43 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/1.273, allocations: 0.8703 MB / 1.393 GB, free: 3.562 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001403/1.274, allocations: 0.9933 MB / 1.394 GB, free: 2.566 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/1.274, allocations: 267.2 kB / 1.395 GB, free: 2.305 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007625/1.275, allocations: 470.3 kB / 1.395 GB, free: 1.844 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004396/1.276, allocations: 330.7 kB / 1.395 GB, free: 1.52 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.569e-05/1.276, allocations: 35.94 kB / 1.395 GB, free: 1.484 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/1.278, allocations: 1.071 MB / 1.396 GB, free: 420 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/1.278, allocations: 155.5 kB / 1.397 GB, free: 264 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/1.278, allocations: 230.8 kB / 1.397 GB, free: 32 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/1.28, allocations: 0.9099 MB / 1.398 GB, free: 15.12 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.28, allocations: 4 kB / 1.398 GB, free: 15.12 MB / 1.108 GB Notification: Performance of FrontEnd: time 1.573e-06/1.28, allocations: 0 / 1.398 GB, free: 15.12 MB / 1.108 GB Notification: Performance of Transformations before backend: time 8.777e-06/1.28, allocations: 0 / 1.398 GB, free: 15.12 MB / 1.108 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.001361/1.281, allocations: 0.8227 MB / 1.398 GB, free: 14.25 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.281, allocations: 12.03 kB / 1.398 GB, free: 14.23 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/1.282, allocations: 183.4 kB / 1.399 GB, free: 14.05 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/1.283, allocations: 401.7 kB / 1.399 GB, free: 13.62 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/1.283, allocations: 20.66 kB / 1.399 GB, free: 13.6 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/1.283, allocations: 28 kB / 1.399 GB, free: 13.57 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/1.284, allocations: 369 kB / 1.399 GB, free: 13.19 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/1.284, allocations: 4 kB / 1.399 GB, free: 13.19 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/1.284, allocations: 12 kB / 1.399 GB, free: 13.18 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/1.284, allocations: 15.92 kB / 1.399 GB, free: 13.16 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/1.284, allocations: 261.7 kB / 1.4 GB, free: 12.9 MB / 1.108 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.002005/1.286, allocations: 1.672 MB / 1.401 GB, free: 11.1 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/1.287, allocations: 198.5 kB / 1.402 GB, free: 10.89 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/1.287, allocations: 100.8 kB / 1.402 GB, free: 10.79 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.288, allocations: 0.874 MB / 1.402 GB, free: 9.734 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/1.288, allocations: 42.56 kB / 1.403 GB, free: 9.684 MB / 1.108 GB Notification: Performance of pre-optimization done (n=23): time 1.883e-06/1.288, allocations: 0 / 1.403 GB, free: 9.684 MB / 1.108 GB Notification: Performance of matching and sorting (n=23): time 0.0009215/1.289, allocations: 349.2 kB / 1.403 GB, free: 9.336 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.289, allocations: 67.28 kB / 1.403 GB, free: 9.258 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/1.29, allocations: 418 kB / 1.403 GB, free: 8.836 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/1.29, allocations: 29.7 kB / 1.403 GB, free: 8.801 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/1.29, allocations: 220.4 kB / 1.404 GB, free: 8.582 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/1.29, allocations: 91.22 kB / 1.404 GB, free: 8.492 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/1.29, allocations: 45.7 kB / 1.404 GB, free: 8.441 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.29, allocations: 354.7 kB / 1.404 GB, free: 8.086 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/1.29, allocations: 75.95 kB / 1.404 GB, free: 8.012 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/1.291, allocations: 128.8 kB / 1.404 GB, free: 7.875 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/1.291, allocations: 205.5 kB / 1.404 GB, free: 7.664 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.291, allocations: 0 / 1.404 GB, free: 7.664 MB / 1.108 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005549/1.292, allocations: 283.8 kB / 1.405 GB, free: 7.383 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/1.292, allocations: 12.06 kB / 1.405 GB, free: 7.371 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.292, allocations: 0 / 1.405 GB, free: 7.371 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.292, allocations: 0 / 1.405 GB, free: 7.371 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/1.292, allocations: 51.91 kB / 1.405 GB, free: 7.32 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.292, allocations: 7.938 kB / 1.405 GB, free: 7.312 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/1.292, allocations: 31.77 kB / 1.405 GB, free: 7.281 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/1.292, allocations: 12 kB / 1.405 GB, free: 7.27 MB / 1.108 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.0002097/1.292, allocations: 173.2 kB / 1.405 GB, free: 7.094 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/1.292, allocations: 47.72 kB / 1.405 GB, free: 7.047 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/1.293, allocations: 286.7 kB / 1.405 GB, free: 6.762 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.293, allocations: 0 / 1.405 GB, free: 6.762 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.293, allocations: 7.922 kB / 1.405 GB, free: 6.754 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.293, allocations: 4 kB / 1.405 GB, free: 6.75 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/1.294, allocations: 0.8099 MB / 1.406 GB, free: 5.867 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.294, allocations: 4 kB / 1.406 GB, free: 5.863 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/1.295, allocations: 47.84 kB / 1.406 GB, free: 5.816 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.295, allocations: 4 kB / 1.406 GB, free: 5.812 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/1.295, allocations: 12.19 kB / 1.406 GB, free: 5.801 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.295, allocations: 4 kB / 1.406 GB, free: 5.797 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.295, allocations: 3.938 kB / 1.406 GB, free: 5.793 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/1.296, allocations: 0.5129 MB / 1.407 GB, free: 5.246 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/1.296, allocations: 144.7 kB / 1.407 GB, free: 5.086 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/1.296, allocations: 11.98 kB / 1.407 GB, free: 5.074 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/1.296, allocations: 15.98 kB / 1.407 GB, free: 5.059 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/1.296, allocations: 23.84 kB / 1.407 GB, free: 5.035 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/1.296, allocations: 15.94 kB / 1.407 GB, free: 5.02 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0003596/1.297, allocations: 299.1 kB / 1.407 GB, free: 4.73 MB / 1.108 GB Notification: Performance of sort global known variables: time 8.1e-08/1.297, allocations: 0 / 1.407 GB, free: 4.73 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0004655/1.297, allocations: 115.8 kB / 1.407 GB, free: 4.617 MB / 1.108 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.000571/1.298, allocations: 185.7 kB / 1.407 GB, free: 4.434 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.0005231/1.298, allocations: 203.8 kB / 1.408 GB, free: 4.234 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.298, allocations: 0 / 1.408 GB, free: 4.234 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/1.298, allocations: 114.6 kB / 1.408 GB, free: 4.125 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/1.299, allocations: 232.3 kB / 1.408 GB, free: 3.902 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/1.301, allocations: 0.9152 MB / 1.409 GB, free: 2.938 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/1.302, allocations: 0.8233 MB / 1.41 GB, free: 2.086 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0002529/1.302, allocations: 79.36 kB / 1.41 GB, free: 2.004 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/1.302, allocations: 35.44 kB / 1.41 GB, free: 1.969 MB / 1.108 GB Notification: Performance of SimCode: time 3.1e-07/1.302, allocations: 4 kB / 1.41 GB, free: 1.965 MB / 1.108 GB Notification: Performance of Templates: time 0.01566/1.318, allocations: 8.249 MB / 1.418 GB, free: 9.844 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.60821667406708]