Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 105.2 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001546, allocations: 190.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 245.7 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.89 kB / 1.103 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9089/0.911, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001636/0.9126, allocations: 0.5914 MB / 1.263 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.9142, allocations: 1.253 MB / 1.264 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.9142, allocations: 3.938 kB / 1.264 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.9142, allocations: 0 / 1.264 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.9142, allocations: 0.7812 kB / 1.264 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.9146, allocations: 64.69 kB / 1.264 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.9146, allocations: 2.312 kB / 1.264 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.9147, allocations: 1.828 kB / 1.264 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.9147, allocations: 4.906 kB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.05e-05/0.9148, allocations: 8.922 kB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.9148, allocations: 1.031 kB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.915, allocations: 91.91 kB / 1.265 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-06/0.9151, allocations: 4.797 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.9151, allocations: 1.359 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.9152, allocations: 52.66 kB / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9152, allocations: 0 / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9153, allocations: 4.688 kB / 1.265 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.9153, allocations: 0 / 1.265 GB, free: 6.637 MB / 0.9981 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.0002602/0.9155, allocations: 335.9 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9156, allocations: 9.469 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.9156, allocations: 1.781 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.966e-05/0.9157, allocations: 161.7 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.9157, allocations: 5.141 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.9157, allocations: 384 / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.645e-05/0.9158, allocations: 37.94 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.9158, allocations: 0 / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.9158, allocations: 4 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.9158, allocations: 4.812 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.9159, allocations: 2.406 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.631e-05/0.916, allocations: 147.8 kB / 1.265 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.489e-05/0.916, allocations: 17.94 kB / 1.265 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.916, allocations: 5.953 kB / 1.265 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004354/0.9165, allocations: 0.5624 MB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.9165, allocations: 43.7 kB / 1.266 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.9165, allocations: 0 / 1.266 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.9166, allocations: 36.44 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.9167, allocations: 52.78 kB / 1.266 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.986e-05/0.9167, allocations: 89.86 kB / 1.266 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-06/0.9167, allocations: 26.52 kB / 1.266 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-06/0.9167, allocations: 80.27 kB / 1.266 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.9168, allocations: 5.578 kB / 1.266 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.9168, allocations: 12 kB / 1.266 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.9168, allocations: 316.2 kB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.9169, allocations: 1.75 kB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.9169, allocations: 5 kB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.9169, allocations: 8.656 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9169, allocations: 0 / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.563e-05/0.917, allocations: 36.8 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.917, allocations: 8.969 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.917, allocations: 0.6562 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.917, allocations: 4.734 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.17e-05/0.917, allocations: 2.25 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.9171, allocations: 0.7188 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.079e-05/0.9171, allocations: 0.6094 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.9171, allocations: 0.8125 kB / 1.267 GB, free: 4.395 MB / 0.9981 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.312e-05/0.9171, allocations: 119.5 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.9171, allocations: 9.172 kB / 1.267 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.342e-05/0.9172, allocations: 40.2 kB / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9172, allocations: 0.6875 kB / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9172, allocations: 0.7031 kB / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9173, allocations: 0.75 kB / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.547e-05/0.9173, allocations: 148.2 kB / 1.267 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.9173, allocations: 0.75 kB / 1.267 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.9173, allocations: 6.172 kB / 1.267 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9173, allocations: 8.562 kB / 1.267 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.9174, allocations: 0.75 kB / 1.267 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9174, allocations: 1.484 kB / 1.267 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9174, allocations: 0 / 1.267 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.449e-05/0.9174, allocations: 57.05 kB / 1.267 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.9175, allocations: 78.52 kB / 1.267 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.9175, allocations: 5.219 kB / 1.267 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.9175, allocations: 9.391 kB / 1.267 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.9175, allocations: 0.7812 kB / 1.267 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.9175, allocations: 1.172 kB / 1.267 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.396e-05/0.9175, allocations: 79.28 kB / 1.267 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9175, allocations: 0.6875 kB / 1.267 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002018/0.9177, allocations: 5.594 kB / 1.267 GB, free: 3.777 MB / 0.9981 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.000153/0.9179, allocations: 108 kB / 1.267 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.372e-05/0.918, allocations: 8.453 kB / 1.267 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.918, allocations: 0.8125 kB / 1.267 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-06/0.918, allocations: 6.75 kB / 1.267 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.9181, allocations: 3.172 kB / 1.267 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001487/0.9183, allocations: 105.6 kB / 1.267 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.9184, allocations: 0.6709 MB / 1.268 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.9184, allocations: 9.859 kB / 1.268 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.9184, allocations: 3.938 kB / 1.268 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.002367/0.9208, allocations: 442.9 kB / 1.268 GB, free: 2.809 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.77556777303107]