Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.00141/0.00141, 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.00155/0.00155, allocations: 161 kB / 24.16 MB, free: 332 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 1.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.477 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 2.072/2.072, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] 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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.7601 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.91e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002272/0.002301, allocations: 0.6619 MB / 0.7607 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.004463, allocations: 1.324 MB / 0.762 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.004489, allocations: 4 kB / 0.762 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.004508, allocations: 0.5312 kB / 0.762 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.032e-05/0.004519, allocations: 1.656 kB / 0.762 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.004999, allocations: 61.22 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.005078, allocations: 4.984 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.00514, allocations: 1.312 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.623e-05/0.005186, allocations: 3.984 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.00525, allocations: 4 kB / 0.7621 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.005265, allocations: 0 / 0.7621 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.0057, allocations: 118.1 kB / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.005712, allocations: 0 / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.005729, allocations: 4 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.005942, allocations: 77.75 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.005949, allocations: 0 / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.615e-06/0.005952, allocations: 0 / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.00596, allocations: 1.688 kB / 0.7623 GB, free: 4.27 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003747/0.006334, allocations: 224.6 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.006386, allocations: 12.91 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.006425, allocations: 1.469 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.006516, allocations: 107.1 kB / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.006532, allocations: 384 / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-06/0.00654, allocations: 384 / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.006646, allocations: 30.27 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006656, allocations: 0.7812 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.006665, allocations: 1.594 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.006674, allocations: 4.703 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.006696, allocations: 11.92 kB / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.006814, allocations: 58.55 kB / 0.7627 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.006876, allocations: 18.61 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.006894, allocations: 4.859 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003407/0.0103, allocations: 53.52 kB / 0.7628 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.01034, allocations: 30.56 kB / 0.7628 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.01034, allocations: 1.531 kB / 0.7628 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001498/0.01049, allocations: 35.17 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.01053, allocations: 51.41 kB / 0.7629 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.01057, allocations: 93.86 kB / 0.763 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.01058, allocations: 25.7 kB / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.01061, allocations: 82.58 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.01065, allocations: 0 / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.01068, allocations: 13.7 kB / 0.7631 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.01079, allocations: 324.1 kB / 0.7634 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.0108, allocations: 0 / 0.7634 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-06/0.01081, allocations: 0 / 0.7634 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/0.01086, allocations: 11.58 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01086, allocations: 0 / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.113e-05/0.01092, allocations: 37.62 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.01094, allocations: 4 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.01095, allocations: 0 / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01097, allocations: 4 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.01103, allocations: 4.828 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01104, allocations: 0 / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.01105, allocations: 5.125 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.01106, allocations: 8.484 kB / 0.7635 GB, free: 2.902 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 (1): * Single equations (assignments): 1 * 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.138e-05/0.01113, allocations: 109.8 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.01114, allocations: 3.125 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.01124, allocations: 40.62 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01125, allocations: 0 / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.01125, allocations: 0.7656 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01125, allocations: 0 / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.922e-05/0.01132, allocations: 65.84 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01132, allocations: 3.031 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.01134, allocations: 0 / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01134, allocations: 0 / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.01134, allocations: 0 / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01135, allocations: 8.641 kB / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01135, allocations: 0 / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.102e-05/0.0114, allocations: 53.08 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.01141, allocations: 0 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-06/0.01141, allocations: 5.406 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-06/0.01142, allocations: 4 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.01143, allocations: 8.797 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.01144, allocations: 1.281 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.074e-05/0.01145, allocations: 4.859 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01145, allocations: 0 / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001261/0.01157, allocations: 11.94 kB / 0.7638 GB, free: 2.543 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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.0001962/0.01177, allocations: 93.89 kB / 0.7639 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.03e-05/0.01183, allocations: 9.516 kB / 0.7639 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01183, allocations: 0.6875 kB / 0.7639 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.01184, allocations: 9.391 kB / 0.7639 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.192e-05/0.0119, allocations: 4.562 kB / 0.7639 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.01209, allocations: 89.62 kB / 0.764 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.089e-05/0.01212, allocations: 52.56 kB / 0.7641 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.01214, allocations: 0.9688 kB / 0.7641 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.01217, allocations: 55.31 kB / 0.7641 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.01217, allocations: 0 / 0.7641 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of Templates: time 0.003728/0.0159, allocations: 472.7 kB / 0.7646 GB, free: 1.738 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.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.196212614886463]