Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 184.6 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.0009027, allocations: 101.4 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.298e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2696, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9369/1.207, allocations: 149.1 MB / 1.352 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.207, allocations: 79.39 kB / 1.352 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008052/1.215, allocations: 2.392 MB / 1.354 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/1.215, allocations: 0.6562 kB / 1.354 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.215e-06/1.215, allocations: 7.969 kB / 1.354 GB, free: 33.66 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004228/1.215, allocations: 347.4 kB / 1.354 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.216, allocations: 8.375 kB / 1.354 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/1.216, allocations: 8.531 kB / 1.354 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/1.216, allocations: 168.3 kB / 1.355 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/1.216, allocations: 0 / 1.355 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/1.216, allocations: 11.75 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/1.216, allocations: 29.03 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.842e-05/1.216, allocations: 45.3 kB / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/1.216, allocations: 4.547 kB / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/1.216, allocations: 0 / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.216, allocations: 0 / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/1.216, allocations: 141.5 kB / 1.355 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/1.216, allocations: 56.36 kB / 1.355 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/1.216, allocations: 19.7 kB / 1.355 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/1.217, allocations: 0.558 MB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.217, allocations: 41.86 kB / 1.355 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/1.217, allocations: 0 / 1.355 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.01263/1.229, allocations: 3.361 MB / 1.359 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/1.229, allocations: 52.16 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/1.23, allocations: 92.88 kB / 1.359 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/1.23, allocations: 25.7 kB / 1.359 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/1.23, allocations: 80.8 kB / 1.359 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.23, allocations: 58.34 kB / 1.359 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/1.23, allocations: 0 / 1.359 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.23, allocations: 319.8 kB / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/1.23, allocations: 305.5 kB / 1.36 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/1.231, allocations: 307.1 kB / 1.36 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/1.231, allocations: 380 kB / 1.36 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.231, allocations: 0 / 1.36 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001218/1.233, allocations: 0.7913 MB / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.233, allocations: 4.375 kB / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.233, allocations: 0 / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.233, allocations: 0 / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/1.233, allocations: 95.52 kB / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.233, allocations: 0 / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/1.234, allocations: 8.484 kB / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.522e-05/1.234, allocations: 36.61 kB / 1.361 GB, free: 30.6 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001771/1.234, allocations: 112.9 kB / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001139/1.235, allocations: 0.778 MB / 1.362 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/1.235, allocations: 7.875 kB / 1.362 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/1.238, allocations: 1.339 MB / 1.363 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.238, allocations: 7.812 kB / 1.363 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.238, allocations: 0 / 1.363 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/1.238, allocations: 6.953 kB / 1.363 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/1.24, allocations: 1.713 MB / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.24, allocations: 1.5 kB / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/1.241, allocations: 109.9 kB / 1.365 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.241, allocations: 3.953 kB / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/1.241, allocations: 24.36 kB / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.241, allocations: 1.5 kB / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.241, allocations: 4.031 kB / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/1.243, allocations: 1.391 MB / 1.367 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/1.243, allocations: 96.66 kB / 1.367 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/1.243, allocations: 7.469 kB / 1.367 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/1.244, allocations: 3.969 kB / 1.367 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/1.244, allocations: 47.62 kB / 1.367 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/1.244, allocations: 30.66 kB / 1.367 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.19e-05/1.244, allocations: 75.28 kB / 1.367 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.244, allocations: 0 / 1.367 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000622/1.245, allocations: 206 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.002545/1.247, allocations: 2.162 MB / 1.369 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009581/1.248, allocations: 0.6914 MB / 1.37 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.248, allocations: 0 / 1.37 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004834/1.249, allocations: 431.5 kB / 1.37 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/1.249, allocations: 3.719 kB / 1.37 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/1.252, allocations: 0.7882 MB / 1.371 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/1.252, allocations: 0.7249 MB / 1.372 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001351/1.254, allocations: 296.8 kB / 1.372 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/1.254, allocations: 117 kB / 1.372 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.254, allocations: 0 / 1.372 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/1.286, allocations: 11.24 MB / 1.383 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/1.286, allocations: 170.3 kB / 1.383 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.9, allocations: 7.562 kB / 1.383 GB, free: 25.95 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat does not exist to compare? outputFormat=mat