Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001718/0.001718, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002016/0.002016, allocations: 192.3 kB / 22.11 MB, free: 4.223 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.474/1.474, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.939/2.939, allocations: 495.8 MB / 0.783 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 64.14 kB / 1.137 GB, free: 12.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 173.6 MB / 1.307 GB, free: 33.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001746/1.08, allocations: 0.7966 MB / 1.308 GB, free: 33.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001413/1.082, allocations: 1.503 MB / 1.309 GB, free: 32.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/1.082, allocations: 4 kB / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/1.082, allocations: 0 / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/1.082, allocations: 3.938 kB / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/1.082, allocations: 139.2 kB / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.93e-05/1.082, allocations: 54.73 kB / 1.309 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/1.082, allocations: 6.453 kB / 1.309 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/1.083, allocations: 29.86 kB / 1.309 GB, free: 32.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/1.083, allocations: 34.05 kB / 1.309 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/1.083, allocations: 2.844 kB / 1.309 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/1.083, allocations: 264.9 kB / 1.31 GB, free: 32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/1.083, allocations: 14.25 kB / 1.31 GB, free: 31.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/1.083, allocations: 28.89 kB / 1.31 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/1.083, allocations: 194.2 kB / 1.31 GB, free: 31.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.083, allocations: 2.953 kB / 1.31 GB, free: 31.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/1.083, allocations: 4 kB / 1.31 GB, free: 31.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.083, allocations: 3.344 kB / 1.31 GB, free: 31.91 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005879/1.084, allocations: 325.8 kB / 1.31 GB, free: 31.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.084, allocations: 11.94 kB / 1.31 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/1.084, allocations: 66.3 kB / 1.31 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.649e-05/1.084, allocations: 113.3 kB / 1.31 GB, free: 31.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/1.084, allocations: 10.09 kB / 1.31 GB, free: 31.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/1.085, allocations: 3.219 kB / 1.31 GB, free: 31.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/1.085, allocations: 120.7 kB / 1.31 GB, free: 31.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.085, allocations: 2.594 kB / 1.31 GB, free: 31.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/1.085, allocations: 0 / 1.31 GB, free: 31.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.085, allocations: 6.969 kB / 1.31 GB, free: 31.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/1.085, allocations: 102.9 kB / 1.311 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/1.086, allocations: 310.8 kB / 1.311 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/1.087, allocations: 148.8 kB / 1.311 GB, free: 31.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/1.087, allocations: 61.38 kB / 1.311 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/1.087, allocations: 3.984 kB / 1.311 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/1.087, allocations: 33.34 kB / 1.311 GB, free: 31.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/1.087, allocations: 0 / 1.311 GB, free: 31.01 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01807/1.105, allocations: 2.686 MB / 1.314 GB, free: 30.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/1.105, allocations: 62.09 kB / 1.314 GB, free: 30.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/1.105, allocations: 102.6 kB / 1.314 GB, free: 30.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/1.105, allocations: 25.7 kB / 1.314 GB, free: 30.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/1.105, allocations: 90.94 kB / 1.314 GB, free: 30.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/1.105, allocations: 37.47 kB / 1.314 GB, free: 30.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.105, allocations: 71.53 kB / 1.314 GB, free: 30 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.371e-05/1.105, allocations: 318 kB / 1.314 GB, free: 29.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/1.106, allocations: 191.3 kB / 1.315 GB, free: 29.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/1.107, allocations: 192 kB / 1.315 GB, free: 29.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/1.108, allocations: 398 kB / 1.315 GB, free: 29.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/1.108, allocations: 4 kB / 1.315 GB, free: 29.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001536/1.11, allocations: 478.5 kB / 1.316 GB, free: 29.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.11, allocations: 5.25 kB / 1.316 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.11, allocations: 0 / 1.316 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.11, allocations: 0 / 1.316 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/1.11, allocations: 111.3 kB / 1.316 GB, free: 29.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/1.11, allocations: 6.562 kB / 1.316 GB, free: 29.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/1.111, allocations: 43.8 kB / 1.316 GB, free: 29.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/1.111, allocations: 29.41 kB / 1.316 GB, free: 29.34 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 (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.0001388/1.111, allocations: 112.5 kB / 1.316 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/1.111, allocations: 6.578 kB / 1.316 GB, free: 29.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/1.111, allocations: 10.69 kB / 1.316 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/1.111, allocations: 0 / 1.316 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.111, allocations: 10.56 kB / 1.316 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.111, allocations: 3.328 kB / 1.316 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/1.113, allocations: 1.022 MB / 1.317 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.113, allocations: 2.688 kB / 1.317 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008366/1.114, allocations: 105 kB / 1.317 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.114, allocations: 3.938 kB / 1.317 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/1.114, allocations: 22.41 kB / 1.317 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.114, allocations: 0 / 1.317 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.114, allocations: 1.016 kB / 1.317 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/1.117, allocations: 0.8024 MB / 1.318 GB, free: 28.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/1.117, allocations: 43.59 kB / 1.318 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/1.117, allocations: 2.875 kB / 1.318 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/1.117, allocations: 53.14 kB / 1.318 GB, free: 28.19 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/1.118, allocations: 29.19 kB / 1.318 GB, free: 28.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/1.118, allocations: 21.78 kB / 1.318 GB, free: 28.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.956e-05/1.118, allocations: 86.22 kB / 1.318 GB, free: 28.11 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.118, allocations: 0 / 1.318 GB, free: 28.11 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003956/1.118, allocations: 51.75 kB / 1.318 GB, free: 28.11 MB / 1.061 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.0002045/1.118, allocations: 112.4 kB / 1.318 GB, free: 28.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001424/1.12, allocations: 426.4 kB / 1.319 GB, free: 27.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.12, allocations: 4 kB / 1.319 GB, free: 27.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006884/1.12, allocations: 223 kB / 1.319 GB, free: 27.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/1.121, allocations: 7.016 kB / 1.319 GB, free: 27.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/1.125, allocations: 0.7499 MB / 1.32 GB, free: 27.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/1.125, allocations: 0.6985 MB / 1.32 GB, free: 26.94 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005062/1.126, allocations: 89.53 kB / 1.32 GB, free: 26.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/1.126, allocations: 58.31 kB / 1.32 GB, free: 26.87 MB / 1.061 GB Notification: Performance of SimCode: time 6.62e-07/1.126, allocations: 0 / 1.32 GB, free: 26.87 MB / 1.061 GB Notification: Performance of Templates: time 0.007686/1.134, allocations: 3.582 MB / 1.324 GB, free: 26.65 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.465201606042683]