Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.001816/0.001816, allocations: 103 kB / 16.45 MB, free: 6.453 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.002244/0.002244, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.274/3.274, allocations: 0.4899 GB / 0.7915 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [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.002192/0.002192, allocations: 72.8 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3396, allocations: 176.1 MB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001891/0.3415, allocations: 0.6479 MB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.3436, allocations: 1.513 MB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.3436, allocations: 0 / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.3436, allocations: 0 / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.3437, allocations: 15.92 kB / 1.323 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.3441, allocations: 123.4 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.3442, allocations: 27.92 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.3442, allocations: 0 / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.3443, allocations: 15.92 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.3443, allocations: 19.86 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3443, allocations: 8 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.3448, allocations: 319.3 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.3448, allocations: 4 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.3449, allocations: 15.86 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.3452, allocations: 195.4 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3452, allocations: 0 / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3452, allocations: 0 / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3453, allocations: 0 / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005801/0.3458, allocations: 386.9 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3459, allocations: 15.98 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/0.3463, allocations: 56.86 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.3464, allocations: 176.3 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3464, allocations: 4.375 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3465, allocations: 4.312 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.3468, allocations: 73.95 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3468, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3468, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3468, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.3472, allocations: 79.84 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.3474, allocations: 165.7 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.3479, allocations: 118.5 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.3481, allocations: 40.95 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.3482, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.3482, allocations: 42.48 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.3482, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 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=9): time 0.004381/0.3526, allocations: 0.7867 MB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.3526, allocations: 55.41 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3528, allocations: 117.8 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3528, allocations: 25.7 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.3529, allocations: 84.14 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.3529, allocations: 31.73 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/0.353, allocations: 25.7 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3532, allocations: 322.8 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.3536, allocations: 95.91 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.3541, allocations: 99.83 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008838/0.355, allocations: 193 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.355, allocations: 8.125 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009772/0.3559, allocations: 241.3 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.356, allocations: 4 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.356, allocations: 4 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.356, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.3563, allocations: 55.94 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3563, allocations: 0 / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.3565, allocations: 39.95 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3566, allocations: 7.984 kB / 1.327 GB, free: 12.31 MB / 1.029 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 (9): * Single equations (assignments): 9 * 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.0001139/0.3567, allocations: 117.7 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.3567, allocations: 4 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.3567, allocations: 12.38 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3568, allocations: 0 / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3568, allocations: 4 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3568, allocations: 0 / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.3586, allocations: 0.6051 MB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3586, allocations: 0 / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.3589, allocations: 55.95 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3589, allocations: 3.984 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.3589, allocations: 4 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3589, allocations: 0 / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3589, allocations: 4 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.36, allocations: 348.9 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.36, allocations: 85.06 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.36, allocations: 7.938 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.3603, allocations: 39.95 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.3603, allocations: 11.92 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3604, allocations: 7.984 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.542e-05/0.3604, allocations: 95.27 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3604, allocations: 0 / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000316/0.3608, allocations: 44.05 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.00025/0.361, allocations: 123.1 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009939/0.362, allocations: 211.6 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.362, allocations: 8 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.3625, allocations: 104 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.3627, allocations: 9.875 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.3643, allocations: 406.9 kB / 1.33 GB, free: 9.879 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3647, allocations: 0.6885 MB / 1.33 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.414e-05/0.3648, allocations: 20.66 kB / 1.33 GB, free: 9.145 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.3649, allocations: 19.42 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3649, allocations: 0 / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of Templates: time 0.004747/0.3696, allocations: 1.66 MB / 1.332 GB, free: 7.461 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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: 8.790743662975729]