Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009565/0.0009565, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009023/0.0009024, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.631/2.631, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 12 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7565, allocations: 142.3 MB / 0.9535 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006695/0.7572, allocations: 315.2 kB / 0.9538 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.7584, allocations: 1.199 MB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.427e-05/0.7585, allocations: 3.938 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.578e-06/0.7585, allocations: 1.469 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-06/0.7585, allocations: 0 / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.7588, allocations: 46.14 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.196e-05/0.7588, allocations: 1.469 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.7589, allocations: 0 / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.7589, allocations: 1.125 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.7589, allocations: 1.062 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.113e-06/0.7589, allocations: 7.938 kB / 0.9551 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.7591, allocations: 95.92 kB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.082e-06/0.7591, allocations: 0 / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.7592, allocations: 25.7 kB / 0.9552 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.933e-05/0.7593, allocations: 42.88 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.7593, allocations: 0 / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7593, allocations: 0 / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.7593, allocations: 0 / 0.9552 GB, free: 6.801 MB / 0.7169 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.0002227/0.7595, allocations: 317 kB / 0.9555 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.7596, allocations: 8.438 kB / 0.9555 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.7596, allocations: 9.297 kB / 0.9555 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.538e-05/0.7597, allocations: 163.1 kB / 0.9557 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.7597, allocations: 0 / 0.9557 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.7597, allocations: 1.625 kB / 0.9557 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.7598, allocations: 30.7 kB / 0.9557 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7598, allocations: 0 / 0.9557 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.7599, allocations: 1.438 kB / 0.9557 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.7599, allocations: 0 / 0.9557 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.805e-05/0.7599, allocations: 5.172 kB / 0.9557 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.7601, allocations: 154.9 kB / 0.9559 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.7601, allocations: 17.61 kB / 0.9559 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.7607, allocations: 0.5601 MB / 0.9564 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.7608, allocations: 43.58 kB / 0.9565 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.7608, allocations: 0 / 0.9565 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001793/0.7609, allocations: 31.36 kB / 0.9565 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.761, allocations: 51.41 kB / 0.9566 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.938e-05/0.761, allocations: 90.95 kB / 0.9566 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.761, allocations: 25.7 kB / 0.9567 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.7611, allocations: 80.14 kB / 0.9567 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.7611, allocations: 8.938 kB / 0.9567 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.7611, allocations: 0 / 0.9567 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.7612, allocations: 320 kB / 0.9571 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.7612, allocations: 1.25 kB / 0.9571 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.916e-06/0.7612, allocations: 5.156 kB / 0.9571 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.7613, allocations: 9.078 kB / 0.9571 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7613, allocations: 0 / 0.9571 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.172e-05/0.7614, allocations: 31.67 kB / 0.9571 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.7614, allocations: 5.219 kB / 0.9571 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.7614, allocations: 0 / 0.9571 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.7614, allocations: 1.25 kB / 0.9571 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.7615, allocations: 5.438 kB / 0.9571 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.7615, allocations: 0 / 0.9571 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.497e-05/0.7615, allocations: 5.125 kB / 0.9571 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.7615, allocations: 0 / 0.9571 GB, free: 4.578 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.152e-05/0.7616, allocations: 119.3 kB / 0.9572 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.7616, allocations: 1.062 kB / 0.9572 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.7617, allocations: 41.73 kB / 0.9573 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.7618, allocations: 0 / 0.9573 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7618, allocations: 1.094 kB / 0.9573 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.7618, allocations: 3.984 kB / 0.9573 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.092e-05/0.7619, allocations: 150.6 kB / 0.9574 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7619, allocations: 1.125 kB / 0.9574 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.7619, allocations: 1.469 kB / 0.9574 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7619, allocations: 1.156 kB / 0.9574 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.7619, allocations: 0 / 0.9574 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7619, allocations: 4 kB / 0.9574 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7619, allocations: 1.094 kB / 0.9574 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.762, allocations: 70.64 kB / 0.9575 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.762, allocations: 80.52 kB / 0.9576 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.762, allocations: 0 / 0.9576 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.762, allocations: 1.406 kB / 0.9576 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.7621, allocations: 0 / 0.9576 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.7621, allocations: 1.438 kB / 0.9576 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.556e-05/0.7621, allocations: 75.28 kB / 0.9576 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7621, allocations: 4.031 kB / 0.9576 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000232/0.7624, allocations: 13.69 kB / 0.9577 GB, free: 3.945 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002449/0.7626, allocations: 106.1 kB / 0.9578 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.909e-05/0.7627, allocations: 2.969 kB / 0.9578 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7627, allocations: 5.594 kB / 0.9578 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-06/0.7627, allocations: 1.469 kB / 0.9578 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.7628, allocations: 6.656 kB / 0.9578 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.7631, allocations: 79.56 kB / 0.9579 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.7633, allocations: 0.6714 MB / 0.9585 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.7633, allocations: 1.906 kB / 0.9585 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.7633, allocations: 7.438 kB / 0.9585 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.7633, allocations: 0.8438 kB / 0.9585 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.003082/0.7664, allocations: 292.6 kB / 0.9588 GB, free: 2.887 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches