Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001707/0.001707, allocations: 76.23 kB / 19.18 MB, free: 2.52 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.001849/0.001849, allocations: 165 kB / 22.45 MB, free: 5.371 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.708/2.708, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.951 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.643e-05, allocations: 5.234 kB / 0.951 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001557/0.001584, allocations: 0.6035 MB / 0.9516 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.0039, allocations: 1.439 MB / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.003921, allocations: 0 / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.003936, allocations: 3.938 kB / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.438e-05/0.00397, allocations: 4 kB / 0.953 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.004486, allocations: 143.4 kB / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.194e-05/0.004557, allocations: 23.98 kB / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.004591, allocations: 4 kB / 0.9532 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.004659, allocations: 19.97 kB / 0.9532 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.004734, allocations: 23.97 kB / 0.9532 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.004753, allocations: 0 / 0.9532 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.005177, allocations: 255.4 kB / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.005197, allocations: 7.984 kB / 0.9535 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.005225, allocations: 11.92 kB / 0.9535 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.005572, allocations: 207.4 kB / 0.9537 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005575, allocations: 0 / 0.9537 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005575, allocations: 4 kB / 0.9537 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.005579, allocations: 0 / 0.9537 GB, free: 8.715 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000562/0.006141, allocations: 286 kB / 0.954 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.006175, allocations: 15.97 kB / 0.954 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004788/0.006654, allocations: 64.84 kB / 0.9541 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.006771, allocations: 109.8 kB / 0.9542 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.006794, allocations: 384 / 0.9542 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.006819, allocations: 8.375 kB / 0.9542 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.00712, allocations: 103.9 kB / 0.9543 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.007129, allocations: 192 / 0.9543 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.007142, allocations: 384 / 0.9543 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.007154, allocations: 3.938 kB / 0.9543 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.007496, allocations: 67.92 kB / 0.9543 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.007667, allocations: 105.3 kB / 0.9544 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.008342, allocations: 122.5 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.008524, allocations: 44.92 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00046/0.008984, allocations: 79.89 kB / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.00902, allocations: 30.56 kB / 0.9547 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.009021, allocations: 0 / 0.9547 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.00125/0.01027, allocations: 341 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.01031, allocations: 55.34 kB / 0.9551 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.01039, allocations: 97.86 kB / 0.9552 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.01042, allocations: 29.83 kB / 0.9552 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.01046, allocations: 84.08 kB / 0.9553 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.01049, allocations: 23.84 kB / 0.9553 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.01055, allocations: 13.72 kB / 0.9553 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.0107, allocations: 314.8 kB / 0.9556 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.01087, allocations: 39.95 kB / 0.9557 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.01104, allocations: 39.91 kB / 0.9557 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.01138, allocations: 80.98 kB / 0.9558 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.01138, allocations: 0 / 0.9558 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003928/0.01177, allocations: 113.6 kB / 0.9559 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.01178, allocations: 4 kB / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01179, allocations: 0 / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.0118, allocations: 0 / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.01195, allocations: 23.92 kB / 0.9559 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01196, allocations: 7.938 kB / 0.9559 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.01207, allocations: 15.98 kB / 0.9559 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01208, allocations: 3.984 kB / 0.9559 GB, free: 6.227 MB / 0.8575 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 (6): * Single equations (assignments): 6 * 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 9.727e-05/0.01218, allocations: 117.8 kB / 0.956 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.0122, allocations: 3.953 kB / 0.956 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.01267, allocations: 129.4 kB / 0.9562 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01267, allocations: 4 kB / 0.9562 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.01268, allocations: 7.938 kB / 0.9562 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01268, allocations: 0 / 0.9562 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.01282, allocations: 105.3 kB / 0.9563 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01282, allocations: 0 / 0.9563 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.01298, allocations: 23.97 kB / 0.9563 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01298, allocations: 3.938 kB / 0.9563 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.013, allocations: 8 kB / 0.9563 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.013, allocations: 0 / 0.9563 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.013, allocations: 4 kB / 0.9563 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.01363, allocations: 189.1 kB / 0.9565 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.01368, allocations: 11.97 kB / 0.9565 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.0137, allocations: 0 / 0.9565 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.01383, allocations: 15.98 kB / 0.9565 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.01385, allocations: 7.922 kB / 0.9565 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.01386, allocations: 7.938 kB / 0.9565 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.01391, allocations: 79.34 kB / 0.9566 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01392, allocations: 4 kB / 0.9566 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002369/0.01415, allocations: 31.88 kB / 0.9567 GB, free: 5.422 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0002167/0.01437, allocations: 131 kB / 0.9568 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.01476, allocations: 80.02 kB / 0.9569 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01476, allocations: 0 / 0.9569 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.01494, allocations: 43.95 kB / 0.9569 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.01509, allocations: 12 kB / 0.9569 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.01573, allocations: 180.6 kB / 0.9571 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.433e-05/0.01579, allocations: 69.09 kB / 0.9571 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.536e-05/0.01587, allocations: 16 kB / 0.9572 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.01592, allocations: 12.5 kB / 0.9572 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.01592, allocations: 3.938 kB / 0.9572 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of Templates: time 0.004004/0.01993, allocations: 1.193 MB / 0.9583 GB, free: 3.648 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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: 7.726431746035814]