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.001866/0.001866, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002377/0.002377, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 8.016 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.818/2.818, allocations: 476.7 MB / 0.7706 GB, free: 4.305 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: 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_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.002101/0.002101, allocations: 67.08 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3841, allocations: 170 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002295/0.3864, allocations: 0.7958 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3886, allocations: 1.542 MB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.3887, allocations: 0 / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.3887, allocations: 7.922 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.3888, allocations: 7.875 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.3894, allocations: 144.2 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3895, allocations: 47.95 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.3895, allocations: 7.938 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.248e-05/0.3896, allocations: 31.91 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.847e-05/0.3897, allocations: 27.91 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3897, allocations: 11.94 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.3902, allocations: 315.4 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.3902, allocations: 19.92 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.3903, allocations: 31.84 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.3906, allocations: 203.4 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3906, allocations: 0 / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3906, allocations: 0 / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3906, allocations: 0 / 1.287 GB, free: 8.016 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.0007856/0.3914, allocations: 341.7 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3914, allocations: 8.031 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004862/0.3919, allocations: 72.81 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3921, allocations: 110.5 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.3921, allocations: 8.375 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.3921, allocations: 4.375 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.3925, allocations: 125.6 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3926, allocations: 0 / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3926, allocations: 0 / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3926, allocations: 4 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.3931, allocations: 103.9 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/0.3938, allocations: 311.6 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.3945, allocations: 154.4 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.3947, allocations: 48.81 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3947, allocations: 3.938 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.3948, allocations: 38.56 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3948, allocations: 4 kB / 1.288 GB, free: 6.586 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.01924/0.414, allocations: 2.675 MB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.414, allocations: 59.28 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.4141, allocations: 105.8 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.4142, allocations: 25.7 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.4143, allocations: 92.09 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.4144, allocations: 47.62 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.4145, allocations: 69.58 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4147, allocations: 318.8 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.4154, allocations: 183.8 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.416, allocations: 199.8 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.4174, allocations: 396.6 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4174, allocations: 0 / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001602/0.419, allocations: 477.1 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4191, allocations: 4 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4191, allocations: 0 / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.4191, allocations: 0 / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/0.42, allocations: 107.8 kB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.42, allocations: 3.938 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/0.4206, allocations: 51.92 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/0.4207, allocations: 19.94 kB / 1.293 GB, free: 1.68 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.0001681/0.4209, allocations: 117.8 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/0.4209, allocations: 7.953 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.421, allocations: 12.06 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.421, allocations: 3.938 kB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.421, allocations: 3.938 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.421, allocations: 7.984 kB / 1.293 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.4234, allocations: 1.011 MB / 1.294 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4234, allocations: 0 / 1.294 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/0.4243, allocations: 103.8 kB / 1.294 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4243, allocations: 11.88 kB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/0.4244, allocations: 23.92 kB / 1.294 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.4244, allocations: 4 kB / 1.294 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4244, allocations: 0 / 1.294 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.4268, allocations: 0.7882 MB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.427, allocations: 47.81 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.4271, allocations: 7.922 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/0.4278, allocations: 52 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.4279, allocations: 24.02 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.4279, allocations: 27.88 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.428, allocations: 83.27 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.428, allocations: 4 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004672/0.4285, allocations: 47.94 kB / 1.295 GB, free: 15.16 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.0002463/0.4287, allocations: 119 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.4302, allocations: 419.5 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4302, allocations: 0 / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.431, allocations: 219.7 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.4313, allocations: 12 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.4359, allocations: 0.7604 MB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.4363, allocations: 0.6924 MB / 1.297 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005179/0.4368, allocations: 88.61 kB / 1.297 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.4371, allocations: 63.3 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.4371, allocations: 0 / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of Templates: time 0.008286/0.4454, allocations: 3.583 MB / 1.301 GB, free: 9.172 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.050667971838266]