Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.017/2.017, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.0009958/0.0009959, allocations: 173 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 221.3 MB / 0.7915 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008726/0.0008726, allocations: 91.94 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.099e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2306, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7619/0.9925, allocations: 150.6 MB / 1.366 GB, free: 3.477 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.9927, allocations: 85.48 kB / 1.366 GB, free: 3.426 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006592/0.9993, allocations: 2.406 MB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9994, allocations: 3.938 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.9994, allocations: 0 / 1.368 GB, free: 1.379 MB / 0.823 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.0003308/0.9997, allocations: 349.7 kB / 1.369 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9998, allocations: 8.031 kB / 1.369 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.9998, allocations: 30.56 kB / 1.369 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.9999, allocations: 13.22 kB / 1.369 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/1, allocations: 167 kB / 1.369 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/1, allocations: 7.438 kB / 1.369 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/1, allocations: 3.906 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/1, allocations: 52.44 kB / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1, allocations: 3.984 kB / 1.369 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/1, allocations: 7.562 kB / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/1, allocations: 4 kB / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.323e-05/1, allocations: 23.48 kB / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/1, allocations: 168.4 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/1.001, allocations: 60.56 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/1.001, allocations: 23.8 kB / 1.369 GB, free: 368 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/1.001, allocations: 0.562 MB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.001, allocations: 30.56 kB / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/1.001, allocations: 0 / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.01395/1.015, allocations: 3.687 MB / 1.373 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/1.015, allocations: 51.41 kB / 1.373 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/1.015, allocations: 89 kB / 1.374 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/1.015, allocations: 28.95 kB / 1.374 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/1.015, allocations: 84.27 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/1.016, allocations: 64.03 kB / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/1.016, allocations: 0 / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.016, allocations: 318.5 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/1.016, allocations: 300.5 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/1.017, allocations: 301 kB / 1.375 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/1.017, allocations: 366 kB / 1.375 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.017, allocations: 4 kB / 1.375 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001367/1.019, allocations: 0.7752 MB / 1.376 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.019, allocations: 8 kB / 1.376 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.019, allocations: 3.938 kB / 1.376 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/1.019, allocations: 0 / 1.376 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/1.019, allocations: 95.89 kB / 1.376 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.019, allocations: 4 kB / 1.376 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/1.02, allocations: 7.625 kB / 1.376 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.899e-05/1.02, allocations: 31.98 kB / 1.376 GB, free: 10.5 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.0001577/1.02, allocations: 111.9 kB / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/1.02, allocations: 4 kB / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/1.023, allocations: 1.379 MB / 1.377 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.023, allocations: 7.984 kB / 1.377 GB, free: 9.449 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.023, allocations: 7.953 kB / 1.377 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.023, allocations: 0 / 1.377 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/1.026, allocations: 1.794 MB / 1.379 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.026, allocations: 0 / 1.379 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/1.027, allocations: 103.9 kB / 1.379 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.027, allocations: 4 kB / 1.379 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/1.027, allocations: 31.05 kB / 1.379 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/1.027, allocations: 0 / 1.379 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/1.027, allocations: 7.938 kB / 1.379 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/1.029, allocations: 1.448 MB / 1.381 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/1.029, allocations: 88.3 kB / 1.381 GB, free: 6.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.431e-05/1.029, allocations: 7.25 kB / 1.381 GB, free: 6.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/1.029, allocations: 7.688 kB / 1.381 GB, free: 6.926 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.03, allocations: 47.14 kB / 1.381 GB, free: 6.883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/1.03, allocations: 31.3 kB / 1.381 GB, free: 6.855 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.124e-05/1.03, allocations: 79.28 kB / 1.381 GB, free: 6.777 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.03, allocations: 160 / 1.381 GB, free: 6.777 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005854/1.03, allocations: 214 kB / 1.381 GB, free: 6.578 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.002582/1.033, allocations: 2.219 MB / 1.383 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001019/1.034, allocations: 0.7109 MB / 1.384 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.034, allocations: 0 / 1.384 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005249/1.034, allocations: 446 kB / 1.384 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/1.035, allocations: 2.812 kB / 1.384 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/1.038, allocations: 0.8396 MB / 1.385 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/1.038, allocations: 0.7222 MB / 1.386 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001337/1.039, allocations: 289.3 kB / 1.386 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/1.04, allocations: 124.2 kB / 1.386 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/1.04, allocations: 3.938 kB / 1.386 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/1.064, allocations: 11.51 MB / 1.398 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/1.064, allocations: 193.9 kB / 1.398 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.556, allocations: 0 / 1.398 GB, free: 6.848 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat does not exist to compare? outputFormat=mat