Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001613/0.001613, allocations: 109.6 kB / 16.45 MB, free: 6.035 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.001876/0.001876, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.498/1.498, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 443.5 MB / 0.7287 GB, free: 13.34 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.91 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8443, allocations: 160.7 MB / 1.213 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001921/0.8462, allocations: 0.5855 MB / 1.214 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.848, allocations: 1.254 MB / 1.215 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.8481, allocations: 0 / 1.215 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.8481, allocations: 0 / 1.215 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.8481, allocations: 0 / 1.215 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.8485, allocations: 67.75 kB / 1.215 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.566e-05/0.8485, allocations: 0 / 1.215 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.8486, allocations: 7.984 kB / 1.215 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.479e-05/0.8486, allocations: 3.938 kB / 1.215 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.8486, allocations: 0 / 1.215 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.8486, allocations: 0 / 1.215 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.8489, allocations: 103.8 kB / 1.215 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.8489, allocations: 3.938 kB / 1.215 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.8489, allocations: 4 kB / 1.215 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.849, allocations: 53.7 kB / 1.215 GB, free: 3.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8491, allocations: 0 / 1.215 GB, free: 3.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8491, allocations: 8 kB / 1.215 GB, free: 3.262 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.8491, allocations: 3.984 kB / 1.215 GB, free: 3.258 MB / 0.92 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.0003657/0.8494, allocations: 315.5 kB / 1.215 GB, free: 2.902 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.8495, allocations: 12.62 kB / 1.215 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.8495, allocations: 30.75 kB / 1.215 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.8495, allocations: 4.922 kB / 1.215 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.8497, allocations: 172.3 kB / 1.216 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.8497, allocations: 384 / 1.216 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.8497, allocations: 384 / 1.216 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.8498, allocations: 41.77 kB / 1.216 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8498, allocations: 0 / 1.216 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.8498, allocations: 0 / 1.216 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.8498, allocations: 0 / 1.216 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.8498, allocations: 0 / 1.216 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.85, allocations: 149.7 kB / 1.216 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.492e-05/0.85, allocations: 18.58 kB / 1.216 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.8501, allocations: 4.859 kB / 1.216 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006405/0.8507, allocations: 0.5662 MB / 1.216 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.8507, allocations: 38.44 kB / 1.216 GB, free: 1.621 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.8507, allocations: 0 / 1.216 GB, free: 1.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.8509, allocations: 41.59 kB / 1.216 GB, free: 1.574 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.8509, allocations: 51.41 kB / 1.216 GB, free: 1.512 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.686e-05/0.851, allocations: 93.98 kB / 1.216 GB, free: 1.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.851, allocations: 29.7 kB / 1.217 GB, free: 1.375 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.851, allocations: 80.14 kB / 1.217 GB, free: 1.293 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.851, allocations: 0 / 1.217 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.8511, allocations: 13.7 kB / 1.217 GB, free: 1.273 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8512, allocations: 314.8 kB / 1.217 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.8512, allocations: 4 kB / 1.217 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.8512, allocations: 0 / 1.217 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/0.8512, allocations: 16.86 kB / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8512, allocations: 0 / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.372e-05/0.8513, allocations: 33.7 kB / 1.217 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.8513, allocations: 11.94 kB / 1.217 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.8513, allocations: 3.938 kB / 1.217 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.8513, allocations: 0 / 1.217 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.8514, allocations: 3.984 kB / 1.217 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.8514, allocations: 3.984 kB / 1.217 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.8514, allocations: 0 / 1.217 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.8514, allocations: 8.031 kB / 1.217 GB, free: 0.8633 MB / 0.92 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.148e-05/0.8515, allocations: 105.8 kB / 1.217 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.8515, allocations: 7.938 kB / 1.217 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.526e-05/0.8516, allocations: 40.75 kB / 1.217 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8516, allocations: 4 kB / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.8516, allocations: 0 / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.8516, allocations: 0 / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.8517, allocations: 145.7 kB / 1.217 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.8517, allocations: 0 / 1.217 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.8517, allocations: 4 kB / 1.217 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.8517, allocations: 3.938 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.8517, allocations: 0 / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.8517, allocations: 3.984 kB / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8517, allocations: 0 / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.14e-05/0.8518, allocations: 69.06 kB / 1.217 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.8519, allocations: 81.05 kB / 1.217 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.8519, allocations: 0 / 1.217 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-06/0.8519, allocations: 3.938 kB / 1.217 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.8519, allocations: 3.984 kB / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.8519, allocations: 0 / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.8519, allocations: 79.28 kB / 1.218 GB, free: 220 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8519, allocations: 0 / 1.218 GB, free: 220 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001894/0.8521, allocations: 4 kB / 1.218 GB, free: 216 kB / 0.92 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.0005337/0.8527, allocations: 0.6124 MB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.916e-05/0.8527, allocations: 7.938 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8527, allocations: 0 / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.693e-06/0.8527, allocations: 4 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.8529, allocations: 0 / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.8532, allocations: 118.7 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.8535, allocations: 0.669 MB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.8535, allocations: 4 kB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.8536, allocations: 7.438 kB / 1.219 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of SimCode: time 3.9e-07/0.8536, allocations: 0 / 1.219 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.8775, allocations: 1.038 MB / 1.22 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.994, allocations: 8.203 kB / 1.22 GB, free: 13.75 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.070097951218486]