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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009183/0.0009183, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8873/0.8873, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.844/1.844, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.342e-06/1.342e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.287e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001001/0.001014, allocations: 0.6136 MB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.00222, allocations: 1.307 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.002243, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.002256, allocations: 3.938 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.842e-05/0.002275, allocations: 3.938 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.002595, allocations: 83.59 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.114e-05/0.002646, allocations: 23.97 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.002682, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.002717, allocations: 19.92 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.002775, allocations: 7.984 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.002787, allocations: 8 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.003, allocations: 115.8 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.719e-06/0.003009, allocations: 0 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.003031, allocations: 15.92 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.003166, allocations: 83.81 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003168, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003169, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.003172, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 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.0003243/0.003497, allocations: 282.2 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.003533, allocations: 8.75 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.003561, allocations: 42.73 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.003583, allocations: 4.891 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.531e-05/0.003658, allocations: 113.7 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.003668, allocations: 4.375 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.003687, allocations: 4.375 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.003789, allocations: 79.94 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.003799, allocations: 192 / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.003809, allocations: 4.125 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.003813, allocations: 0 / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.114e-05/0.003864, allocations: 23.98 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.003983, allocations: 140.8 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.004099, allocations: 62.44 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.004129, allocations: 20.84 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.004301, allocations: 35.97 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.004319, allocations: 34.56 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.00432, allocations: 0 / 1.003 GB, free: 10.18 MB / 0.9636 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.0106/0.01492, allocations: 4.18 MB / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.01494, allocations: 51.41 kB / 1.007 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.647e-05/0.01499, allocations: 93.86 kB / 1.007 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.01505, allocations: 29.7 kB / 1.007 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.056e-05/0.01507, allocations: 80.14 kB / 1.007 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.01515, allocations: 67.42 kB / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.01531, allocations: 93.78 kB / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.01539, allocations: 318.8 kB / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.01574, allocations: 307.9 kB / 1.008 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.0161, allocations: 319.8 kB / 1.008 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.01725, allocations: 0.772 MB / 1.009 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01725, allocations: 0 / 1.009 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001013/0.01827, allocations: 0.8078 MB / 1.01 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.01828, allocations: 4 kB / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01829, allocations: 0 / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.0183, allocations: 0 / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.01866, allocations: 95.89 kB / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.01867, allocations: 7.984 kB / 1.01 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.01887, allocations: 8 kB / 1.01 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.01892, allocations: 31.98 kB / 1.01 GB, free: 2.793 MB / 0.9636 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.0001248/0.01904, allocations: 121.8 kB / 1.01 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.01909, allocations: 4 kB / 1.01 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.02091, allocations: 1.399 MB / 1.011 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.02092, allocations: 7.984 kB / 1.011 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.02092, allocations: 3.938 kB / 1.011 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.02093, allocations: 0 / 1.011 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.02277, allocations: 1.702 MB / 1.013 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02277, allocations: 0 / 1.013 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.02314, allocations: 107.9 kB / 1.013 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.02314, allocations: 0 / 1.013 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.02318, allocations: 32 kB / 1.013 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.02319, allocations: 8.016 kB / 1.013 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02319, allocations: 3.938 kB / 1.013 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.0248, allocations: 1.467 MB / 1.015 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.02481, allocations: 11.91 kB / 1.015 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.02487, allocations: 11.98 kB / 1.015 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.02508, allocations: 8 kB / 1.015 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.02517, allocations: 47.89 kB / 1.015 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.02522, allocations: 36 kB / 1.015 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 2.235e-05/0.02524, allocations: 75.28 kB / 1.015 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02524, allocations: 0 / 1.015 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003924/0.02563, allocations: 191.8 kB / 1.015 GB, free: 13.47 MB / 0.9792 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.002183/0.02782, allocations: 2.145 MB / 1.017 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008311/0.02865, allocations: 0.7189 MB / 1.018 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.02865, allocations: 0 / 1.018 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.02905, allocations: 403.6 kB / 1.018 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.02927, allocations: 23.92 kB / 1.018 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.03372, allocations: 3.704 MB / 1.022 GB, free: 6.371 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.919e-05/0.03378, allocations: 111.6 kB / 1.022 GB, free: 6.242 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006203/0.0344, allocations: 293.5 kB / 1.022 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.03479, allocations: 120.5 kB / 1.022 GB, free: 5.832 MB / 0.9792 GB Notification: Performance of SimCode: time 7.61e-07/0.03479, allocations: 0 / 1.022 GB, free: 5.832 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.05872, allocations: 14.22 MB / 1.036 GB, free: 7.82 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7.034, allocations: 3.047 kB / 1.036 GB, free: 7.82 MB / 0.9948 GB " [Timeout remaining time 293] (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: 11.596794875338674] Failed to read output from testmodel.py, exit status != 0: 7.117105642333627 7.580477123 7.575026637 Calling exit ...