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.001018/0.001018, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009987/0.0009987, 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.9159/0.9159, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.875/1.875, 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.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.222e-06/1.222e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.218e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00097/0.0009821, allocations: 0.6203 MB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.00214, allocations: 1.32 MB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.287e-05/0.002153, allocations: 0 / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.002164, allocations: 0.6562 kB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.00217, allocations: 0 / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.00246, allocations: 82.64 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.634e-05/0.002496, allocations: 4 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.94e-05/0.002526, allocations: 0.9062 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.145e-05/0.002547, allocations: 0.875 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.002588, allocations: 0.9375 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.002596, allocations: 4 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.002795, allocations: 105.1 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.806e-06/0.002804, allocations: 3.984 kB / 0.7622 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.215e-06/0.002812, allocations: 5.062 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.002915, allocations: 76.78 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002916, allocations: 0 / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002917, allocations: 0.8125 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.555e-06/0.002919, allocations: 0 / 0.7622 GB, free: 4.391 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.0001736/0.003093, allocations: 226.5 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.678e-05/0.00312, allocations: 8.031 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.906e-05/0.003139, allocations: 5.922 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.834e-05/0.003187, allocations: 106.4 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.003196, allocations: 384 / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.003203, allocations: 1.844 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.101e-05/0.003254, allocations: 30.27 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.003259, allocations: 192 / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.003264, allocations: 0.9688 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.00327, allocations: 3.938 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-06/0.003278, allocations: 4.688 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.928e-05/0.003337, allocations: 62.36 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.752e-05/0.003365, allocations: 15.33 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.478e-06/0.003374, allocations: 10.83 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.00356, allocations: 55.94 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.003577, allocations: 31.91 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.003578, allocations: 0 / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 6.79e-05/0.003645, allocations: 33.64 kB / 0.7628 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.003669, allocations: 52.66 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.073e-05/0.00369, allocations: 89.86 kB / 0.7629 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.003696, allocations: 25.7 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.632e-05/0.003713, allocations: 85.39 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.003735, allocations: 3.984 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.003752, allocations: 10.38 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.003814, allocations: 318.8 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/0.003818, allocations: 3.25 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-06/0.003821, allocations: 0 / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.808e-05/0.003839, allocations: 12.8 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.00384, allocations: 0 / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.712e-05/0.003868, allocations: 38.89 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.003876, allocations: 4 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.00388, allocations: 0 / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.003889, allocations: 3.031 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.652e-05/0.003916, allocations: 4 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.003918, allocations: 0 / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-06/0.003925, allocations: 0 / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.003929, allocations: 3.938 kB / 0.7634 GB, free: 3.035 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 4.004e-05/0.003969, allocations: 113.8 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-06/0.003972, allocations: 0 / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.00402, allocations: 42.12 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.004021, allocations: 0.875 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.004022, allocations: 0.6562 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004024, allocations: 0 / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.942e-05/0.004063, allocations: 71.14 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.004065, allocations: 4 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-06/0.00407, allocations: 0 / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.004071, allocations: 2.438 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-06/0.004074, allocations: 0 / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-07/0.004075, allocations: 0.6562 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.004076, allocations: 3.984 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.391e-05/0.00411, allocations: 61.08 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-06/0.004113, allocations: 0 / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-06/0.004119, allocations: 10.88 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-06/0.004122, allocations: 0 / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-06/0.00413, allocations: 4.75 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.004132, allocations: 0 / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.759e-06/0.004136, allocations: 4.859 kB / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004136, allocations: 0 / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001/0.004236, allocations: 11.94 kB / 0.7637 GB, free: 2.664 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 9.614e-05/0.004333, allocations: 89.91 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.696e-05/0.00437, allocations: 10.2 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.004371, allocations: 0 / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/0.004377, allocations: 8.859 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.951e-05/0.004416, allocations: 7.453 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001222/0.004539, allocations: 94.67 kB / 0.7639 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.136e-05/0.00456, allocations: 51.36 kB / 0.764 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.004573, allocations: 3.422 kB / 0.764 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.004596, allocations: 51.38 kB / 0.764 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.004596, allocations: 0 / 0.764 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of Templates: time 0.001849/0.006445, allocations: 470 kB / 0.7645 GB, free: 1.863 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 -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: 4.907203682232648]