Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001356/0.001356, allocations: 110.4 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001472/0.001472, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 61.66 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002223/0.3476, allocations: 0.7997 MB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002276/0.3499, allocations: 1.538 MB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.3499, allocations: 0 / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.35, allocations: 11.86 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.35, allocations: 4 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.3505, allocations: 143.5 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3507, allocations: 51.89 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.3507, allocations: 8 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.305e-05/0.3508, allocations: 27.91 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.3509, allocations: 35.84 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3509, allocations: 4 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.3514, allocations: 319.4 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.3514, allocations: 11.98 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.3514, allocations: 23.86 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.3518, allocations: 210.9 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3518, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3518, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.3518, allocations: 4 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007771/0.3526, allocations: 337.7 kB / 1.288 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.3526, allocations: 12.03 kB / 1.288 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.291e-05/0.3526, allocations: 192 / 1.288 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.3527, allocations: 46.67 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.3532, allocations: 72.8 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.3534, allocations: 106.5 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.3534, allocations: 4.375 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.3534, allocations: 12.38 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.3539, allocations: 109.5 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3539, allocations: 0 / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3539, allocations: 0 / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.3539, allocations: 3.984 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005303/0.3544, allocations: 107.8 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007313/0.3552, allocations: 315.6 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.3558, allocations: 154.4 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.3561, allocations: 56.81 kB / 1.289 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3561, allocations: 0 / 1.289 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.3562, allocations: 38.56 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3562, allocations: 0 / 1.289 GB, free: 7.051 MB / 0.9825 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01899/0.3752, allocations: 2.684 MB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3752, allocations: 55.41 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.3753, allocations: 101.8 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.3754, allocations: 33.7 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.3754, allocations: 84.09 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.3755, allocations: 39.64 kB / 1.292 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.3757, allocations: 69.58 kB / 1.292 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3758, allocations: 326.8 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007325/0.3766, allocations: 191.8 kB / 1.292 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/0.3773, allocations: 195.7 kB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.3788, allocations: 394.5 kB / 1.293 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3788, allocations: 0 / 1.293 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001707/0.3805, allocations: 470.6 kB / 1.293 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3805, allocations: 8 kB / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3805, allocations: 0 / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3805, allocations: 3.938 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/0.3814, allocations: 115.7 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3814, allocations: 0 / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.382, allocations: 48.03 kB / 1.293 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.3821, allocations: 27.88 kB / 1.293 GB, free: 2.137 MB / 0.9825 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 (13): * Single equations (assignments): 13 * 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.0001741/0.3823, allocations: 113.8 kB / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/0.3824, allocations: 3.953 kB / 1.293 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/0.3824, allocations: 20.05 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3824, allocations: 3.938 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3824, allocations: 0 / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3824, allocations: 4 kB / 1.293 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.3849, allocations: 1.022 MB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.3849, allocations: 3.938 kB / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/0.3858, allocations: 103.8 kB / 1.295 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3858, allocations: 3.984 kB / 1.295 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/0.3858, allocations: 23.94 kB / 1.295 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3858, allocations: 0 / 1.295 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3858, allocations: 0 / 1.295 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.3884, allocations: 0.7918 MB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.3886, allocations: 47.81 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.3887, allocations: 8 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.3894, allocations: 44 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.3895, allocations: 27.92 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.3895, allocations: 23.92 kB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.3896, allocations: 87.45 kB / 1.296 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3896, allocations: 0 / 1.296 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004004/0.39, allocations: 59.94 kB / 1.296 GB, free: 15.62 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.003006/0.393, allocations: 1.337 MB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.3946, allocations: 419.5 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3946, allocations: 4 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.3954, allocations: 227.7 kB / 1.298 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3958, allocations: 13.88 kB / 1.298 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009273/0.405, allocations: 2.936 MB / 1.3 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4054, allocations: 0.6923 MB / 1.301 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005182/0.4059, allocations: 92.66 kB / 1.301 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.4062, allocations: 71.3 kB / 1.301 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.4062, allocations: 0 / 1.301 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.4337, allocations: 4.822 MB / 1.306 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.18, allocations: 14.28 kB / 1.306 GB, free: 5.031 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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: 18.959411302988883]