Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.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.0009516/0.0009516, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001061/0.001061, allocations: 161 kB / 24.17 MB, free: 328 kB / 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 0.9451/0.9451, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.9/1.9, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.571e-05, allocations: 2.312 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002056/0.002081, allocations: 1.54 MB / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003203, allocations: 0.7893 MB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.003242, allocations: 0 / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.00347, allocations: 133.9 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.003952, allocations: 185 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001067/0.004059, allocations: 76.94 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.004152, allocations: 67.38 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.95e-05/0.004221, allocations: 11.92 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.004279, allocations: 47.77 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.004371, allocations: 71.89 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.004384, allocations: 0 / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.004671, allocations: 248.5 kB / 0.7631 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.004775, allocations: 107.7 kB / 0.7632 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.00481, allocations: 35.86 kB / 0.7632 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.005109, allocations: 339.5 kB / 0.7636 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005112, allocations: 1.562 kB / 0.7636 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005113, allocations: 0 / 0.7636 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.005116, allocations: 0 / 0.7636 GB, free: 3.051 MB / 0.7136 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.0004785/0.005595, allocations: 470.8 kB / 0.764 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.005629, allocations: 13.25 kB / 0.764 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.005663, allocations: 12.92 kB / 0.764 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.005859, allocations: 246.8 kB / 0.7643 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.005871, allocations: 4.969 kB / 0.7643 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.005882, allocations: 384 / 0.7643 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.005989, allocations: 58.52 kB / 0.7643 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.005996, allocations: 192 / 0.7643 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.006003, allocations: 5.109 kB / 0.7643 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.006009, allocations: 3.938 kB / 0.7643 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.006027, allocations: 4.812 kB / 0.7643 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.006242, allocations: 163.2 kB / 0.7645 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.492e-05/0.006297, allocations: 70.62 kB / 0.7646 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.006313, allocations: 8.922 kB / 0.7646 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.403e-05/0.006367, allocations: 21.02 kB / 0.7646 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.006391, allocations: 34.56 kB / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.006392, allocations: 0 / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001413/0.006534, allocations: 58.48 kB / 0.7647 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.006568, allocations: 51.41 kB / 0.7647 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.006886, allocations: 381.6 kB / 0.7651 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.006897, allocations: 25.7 kB / 0.7651 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.006961, allocations: 127.8 kB / 0.7652 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.006981, allocations: 7.953 kB / 0.7652 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.00703, allocations: 37.64 kB / 0.7653 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.007137, allocations: 342.8 kB / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.585e-05/0.007173, allocations: 22.81 kB / 0.7656 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.007201, allocations: 19.94 kB / 0.7657 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.472e-05/0.007266, allocations: 43.66 kB / 0.7657 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.007268, allocations: 2.969 kB / 0.7657 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001366/0.007405, allocations: 98.92 kB / 0.7658 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.007419, allocations: 4 kB / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.007425, allocations: 0 / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.00744, allocations: 3.938 kB / 0.7658 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.007552, allocations: 27.98 kB / 0.7658 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.007556, allocations: 4 kB / 0.7658 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.007595, allocations: 0 / 0.7658 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.007606, allocations: 5.5 kB / 0.7658 GB, free: 0.5664 MB / 0.7136 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 (15): * Single equations (assignments): 15 * 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 7.337e-05/0.007679, allocations: 116.6 kB / 0.7659 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.007714, allocations: 15.98 kB / 0.766 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.937e-05/0.007813, allocations: 61.75 kB / 0.766 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.007818, allocations: 3.938 kB / 0.766 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.007819, allocations: 4 kB / 0.766 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007822, allocations: 0 / 0.766 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.007981, allocations: 126.7 kB / 0.7661 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007982, allocations: 0 / 0.7661 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.008018, allocations: 8.641 kB / 0.7662 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.00802, allocations: 0 / 0.7662 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-06/0.008024, allocations: 0.6562 kB / 0.7662 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008026, allocations: 0 / 0.7662 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008027, allocations: 0.6562 kB / 0.7662 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.008163, allocations: 200.2 kB / 0.7663 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.008202, allocations: 27.8 kB / 0.7664 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.008224, allocations: 7.938 kB / 0.7664 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.276e-05/0.008286, allocations: 0 / 0.7664 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.008315, allocations: 3.938 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.008318, allocations: 6.438 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001605/0.008478, allocations: 171.5 kB / 0.7666 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008478, allocations: 0 / 0.7666 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003237/0.008802, allocations: 75.88 kB / 0.7666 GB, free: 15.71 MB / 0.7292 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.0002555/0.009057, allocations: 148.2 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.919e-05/0.009157, allocations: 53.81 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.009161, allocations: 4 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-05/0.009178, allocations: 12.84 kB / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.009406, allocations: 17.5 kB / 0.7669 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.00995, allocations: 455.3 kB / 0.7673 GB, free: 15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.485e-05/0.01002, allocations: 104.5 kB / 0.7674 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.01007, allocations: 24.16 kB / 0.7674 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.01014, allocations: 67.38 kB / 0.7675 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of SimCode: time 9.82e-07/0.01015, allocations: 3.938 kB / 0.7675 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.005927/0.01607, allocations: 3.044 MB / 0.7705 GB, free: 11.9 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.037355230655521]