Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 109 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 187 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.114, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002661/1.117, allocations: 1.438 MB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001419/1.119, allocations: 0.8215 MB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/1.119, allocations: 1.062 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003131/1.119, allocations: 126.7 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/1.119, allocations: 70.06 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006874/1.12, allocations: 193.7 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/1.12, allocations: 62.56 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/1.12, allocations: 7.469 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/1.12, allocations: 42.7 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/1.12, allocations: 78.19 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/1.12, allocations: 3.125 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/1.121, allocations: 227.5 kB / 1.092 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/1.121, allocations: 68.39 kB / 1.092 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/1.121, allocations: 55.97 kB / 1.092 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004499/1.121, allocations: 274 kB / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/1.121, allocations: 1.125 kB / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/1.121, allocations: 0 / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.121, allocations: 0.7969 kB / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006418/1.122, allocations: 0.4977 MB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/1.122, allocations: 9.312 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/1.122, allocations: 21.25 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/1.122, allocations: 264.4 kB / 1.093 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/1.122, allocations: 384 / 1.093 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/1.122, allocations: 5.406 kB / 1.093 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/1.123, allocations: 75.28 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.123, allocations: 0.75 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/1.123, allocations: 0 / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/1.123, allocations: 0.875 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/1.123, allocations: 89.47 kB / 1.093 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/1.124, allocations: 400.3 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/1.124, allocations: 85.86 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/1.124, allocations: 50.03 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.925e-05/1.124, allocations: 24.41 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/1.124, allocations: 35.28 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/1.124, allocations: 0.625 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005361/1.125, allocations: 185.9 kB / 1.094 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/1.125, allocations: 52.38 kB / 1.094 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/1.125, allocations: 357.4 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/1.125, allocations: 25.7 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/1.125, allocations: 139 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/1.125, allocations: 5.312 kB / 1.094 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/1.125, allocations: 27.03 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/1.125, allocations: 337.5 kB / 1.095 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/1.126, allocations: 98.77 kB / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/1.126, allocations: 97.89 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/1.126, allocations: 204.7 kB / 1.095 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.126, allocations: 0 / 1.095 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004856/1.127, allocations: 258.6 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.127, allocations: 6.531 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.127, allocations: 3.984 kB / 1.095 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/1.127, allocations: 0.75 kB / 1.095 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/1.127, allocations: 12.78 kB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.127, allocations: 1.672 kB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/1.127, allocations: 18.45 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/1.127, allocations: 2.297 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.000125/1.127, allocations: 144.2 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/1.127, allocations: 19.88 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/1.128, allocations: 150.3 kB / 1.096 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.128, allocations: 5.344 kB / 1.096 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.128, allocations: 0.75 kB / 1.096 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.128, allocations: 0 / 1.096 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/1.128, allocations: 243.7 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.128, allocations: 0 / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/1.128, allocations: 8.859 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/1.128, allocations: 1.203 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/1.128, allocations: 0.7188 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.128, allocations: 1.062 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.128, allocations: 4.031 kB / 1.096 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/1.129, allocations: 238.2 kB / 1.096 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/1.129, allocations: 102.3 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/1.129, allocations: 1.734 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/1.129, allocations: 5.422 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/1.129, allocations: 10.27 kB / 1.096 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/1.129, allocations: 1.984 kB / 1.096 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000373/1.129, allocations: 250 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.129, allocations: 0 / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006574/1.13, allocations: 74.47 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0003893/1.13, allocations: 151.7 kB / 1.097 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004782/1.131, allocations: 167.4 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.131, allocations: 1.188 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/1.131, allocations: 42.22 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/1.131, allocations: 12.67 kB / 1.097 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/1.132, allocations: 413.8 kB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.133, allocations: 0.7358 MB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/1.133, allocations: 13.22 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/1.133, allocations: 1.188 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.006363/1.139, allocations: 2.404 MB / 1.1 GB, free: 15.42 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches