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/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.001624/0.001624, allocations: 102.6 kB / 16.45 MB, free: 6.445 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.001736/0.001736, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.524/1.524, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] 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.911/2.911, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 63.91 kB / 1.134 GB, free: 13.12 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.08, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001609/1.081, allocations: 0.6229 MB / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001291/1.083, allocations: 1.293 MB / 1.306 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/1.083, allocations: 0 / 1.306 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/1.083, allocations: 4 kB / 1.306 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.822e-05/1.083, allocations: 3.938 kB / 1.306 GB, free: 30.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/1.083, allocations: 78.3 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.572e-05/1.083, allocations: 18.44 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/1.083, allocations: 2.875 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.67e-05/1.083, allocations: 16.5 kB / 1.306 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/1.083, allocations: 20.42 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/1.083, allocations: 0 / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/1.083, allocations: 99.5 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/1.083, allocations: 7.891 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/1.083, allocations: 10.84 kB / 1.306 GB, free: 30.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/1.084, allocations: 68.08 kB / 1.306 GB, free: 30.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.084, allocations: 4 kB / 1.306 GB, free: 30.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/1.084, allocations: 0 / 1.306 GB, free: 30.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.084, allocations: 0 / 1.306 GB, free: 30.66 MB / 1.061 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.0004341/1.084, allocations: 354.6 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.084, allocations: 7.844 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/1.084, allocations: 37.41 kB / 1.307 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/1.084, allocations: 11.55 kB / 1.307 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.431e-05/1.084, allocations: 164.3 kB / 1.307 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/1.084, allocations: 6.953 kB / 1.307 GB, free: 30.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/1.084, allocations: 2.938 kB / 1.307 GB, free: 30.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/1.084, allocations: 54.92 kB / 1.307 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.084, allocations: 0 / 1.307 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.084, allocations: 3 kB / 1.307 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.084, allocations: 0 / 1.307 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.264e-05/1.084, allocations: 32.39 kB / 1.307 GB, free: 29.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/1.085, allocations: 165.1 kB / 1.307 GB, free: 29.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/1.085, allocations: 56.42 kB / 1.307 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/1.085, allocations: 26.47 kB / 1.307 GB, free: 29.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000397/1.085, allocations: 0.5553 MB / 1.308 GB, free: 29.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/1.085, allocations: 41.44 kB / 1.308 GB, free: 29.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/1.085, allocations: 3.938 kB / 1.308 GB, free: 29.03 MB / 1.061 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01805/1.103, allocations: 4.365 MB / 1.312 GB, free: 27.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/1.103, allocations: 58.19 kB / 1.312 GB, free: 27.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/1.103, allocations: 93.86 kB / 1.312 GB, free: 27.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/1.103, allocations: 32.55 kB / 1.312 GB, free: 26.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.505e-05/1.103, allocations: 80.14 kB / 1.312 GB, free: 26.9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/1.103, allocations: 67.53 kB / 1.312 GB, free: 26.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/1.104, allocations: 89.56 kB / 1.312 GB, free: 26.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.363e-05/1.104, allocations: 325.8 kB / 1.313 GB, free: 26.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/1.104, allocations: 311.7 kB / 1.313 GB, free: 26.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/1.105, allocations: 313.8 kB / 1.313 GB, free: 26.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/1.106, allocations: 0.7725 MB / 1.314 GB, free: 25.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.106, allocations: 0 / 1.314 GB, free: 25.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001324/1.107, allocations: 0.7946 MB / 1.315 GB, free: 25.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.107, allocations: 14.5 kB / 1.315 GB, free: 25.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.107, allocations: 0.9375 kB / 1.315 GB, free: 25.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.107, allocations: 2.812 kB / 1.315 GB, free: 25.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/1.108, allocations: 89.55 kB / 1.315 GB, free: 25.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/1.108, allocations: 3.938 kB / 1.315 GB, free: 25.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/1.108, allocations: 11.84 kB / 1.315 GB, free: 25.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/1.109, allocations: 36.66 kB / 1.315 GB, free: 25.56 MB / 1.061 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 (18): * Single equations (assignments): 18 * 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 0.0001488/1.109, allocations: 127.4 kB / 1.315 GB, free: 25.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/1.109, allocations: 2.594 kB / 1.315 GB, free: 25.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/1.111, allocations: 1.392 MB / 1.316 GB, free: 24.78 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.111, allocations: 2.625 kB / 1.316 GB, free: 24.78 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.111, allocations: 2.625 kB / 1.316 GB, free: 24.78 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.111, allocations: 3.328 kB / 1.316 GB, free: 24.78 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/1.114, allocations: 1.816 MB / 1.318 GB, free: 23.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.114, allocations: 2.781 kB / 1.318 GB, free: 23.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/1.115, allocations: 107.9 kB / 1.318 GB, free: 23.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/1.115, allocations: 3.328 kB / 1.318 GB, free: 23.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/1.115, allocations: 33.66 kB / 1.318 GB, free: 23.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/1.115, allocations: 6.094 kB / 1.318 GB, free: 23.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.115, allocations: 2.219 kB / 1.318 GB, free: 23.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/1.117, allocations: 1.457 MB / 1.32 GB, free: 22.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/1.117, allocations: 97.77 kB / 1.32 GB, free: 22.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.655e-05/1.117, allocations: 14.56 kB / 1.32 GB, free: 22.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/1.117, allocations: 8.719 kB / 1.32 GB, free: 22.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.117, allocations: 44.62 kB / 1.32 GB, free: 22.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/1.117, allocations: 30 kB / 1.32 GB, free: 22.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.074e-05/1.117, allocations: 77.84 kB / 1.32 GB, free: 22.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.117, allocations: 0 / 1.32 GB, free: 22.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005412/1.118, allocations: 179.3 kB / 1.32 GB, free: 22.73 MB / 1.061 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 () * Number of clocked 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 (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.003091/1.121, allocations: 2.141 MB / 1.322 GB, free: 21.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001293/1.122, allocations: 0.7122 MB / 1.323 GB, free: 21.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.122, allocations: 0 / 1.323 GB, free: 21.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000607/1.123, allocations: 403.1 kB / 1.323 GB, free: 20.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/1.123, allocations: 12.59 kB / 1.323 GB, free: 20.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/1.131, allocations: 3.735 MB / 1.327 GB, free: 18.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/1.131, allocations: 0.7168 MB / 1.328 GB, free: 18.03 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009721/1.132, allocations: 296.2 kB / 1.328 GB, free: 17.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/1.133, allocations: 119.4 kB / 1.328 GB, free: 17.84 MB / 1.061 GB Notification: Performance of SimCode: time 2.094e-06/1.133, allocations: 0 / 1.328 GB, free: 17.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04304/1.176, allocations: 12.74 MB / 1.341 GB, free: 16.83 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/9.498, allocations: 9.219 kB / 1.341 GB, free: 16.83 MB / 1.061 GB " [Timeout remaining time 290] (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/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 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.91915093595162] Failed to read output from testmodel.py, exit status != 0: 9.573831654153764 9.586179824 8.500120071 Calling exit ...