Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002442/0.002442, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.003184/0.003184, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.371/3.371, allocations: 429.4 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.789e-06/4.789e-06, allocations: 4 kB / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.76e-05, allocations: 3.188 kB / 0.8775 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001715/0.001742, allocations: 0.6424 MB / 0.8781 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.003974, allocations: 1.45 MB / 0.8796 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.004002, allocations: 0 / 0.8796 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.004017, allocations: 3.938 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.004095, allocations: 12.53 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.004524, allocations: 120.9 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.004593, allocations: 31.84 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.004628, allocations: 8 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.004685, allocations: 7.984 kB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.004748, allocations: 23.91 kB / 0.8798 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.004764, allocations: 0 / 0.8798 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.005221, allocations: 255.4 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.005239, allocations: 3.984 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.005268, allocations: 7.938 kB / 0.88 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.005614, allocations: 200.4 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005616, allocations: 0 / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.51e-07/0.005617, allocations: 1.125 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.00562, allocations: 0 / 0.8802 GB, free: 3.832 MB / 0.8386 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.0006054/0.006225, allocations: 412.8 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.006269, allocations: 8.031 kB / 0.8806 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.0066, allocations: 46.95 kB / 0.8806 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.006744, allocations: 124.4 kB / 0.8808 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.006764, allocations: 4.969 kB / 0.8808 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.006781, allocations: 4.969 kB / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.007021, allocations: 63.88 kB / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.007034, allocations: 192 / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.007044, allocations: 384 / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.007051, allocations: 4.719 kB / 0.8808 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.00731, allocations: 50.67 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.007517, allocations: 128.7 kB / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.007953, allocations: 104.3 kB / 0.8811 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.008087, allocations: 31.67 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.008108, allocations: 128 / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.008148, allocations: 37.39 kB / 0.8812 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.008149, allocations: 0 / 0.8812 GB, free: 2.719 MB / 0.8386 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.00315/0.0113, allocations: 0.5723 MB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.01135, allocations: 51.41 kB / 0.8818 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.01149, allocations: 169.9 kB / 0.8819 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.01151, allocations: 29.7 kB / 0.882 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.0116, allocations: 138.9 kB / 0.8821 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.01164, allocations: 27.8 kB / 0.8821 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.01173, allocations: 27.38 kB / 0.8822 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000255/0.01198, allocations: 0.4884 MB / 0.8826 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.0123, allocations: 76.12 kB / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.01261, allocations: 75.88 kB / 0.8828 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.01322, allocations: 147.8 kB / 0.8829 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01322, allocations: 0 / 0.8829 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007185/0.01394, allocations: 189.5 kB / 0.8831 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01396, allocations: 8 kB / 0.8831 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.01396, allocations: 3.938 kB / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.01398, allocations: 0 / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.01423, allocations: 39.97 kB / 0.8832 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.01424, allocations: 3.984 kB / 0.8832 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.0144, allocations: 19.98 kB / 0.8832 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01442, allocations: 7.938 kB / 0.8832 GB, free: 0.5859 MB / 0.8386 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.0001405/0.01456, allocations: 172.4 kB / 0.8833 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.01459, allocations: 7.953 kB / 0.8834 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.01466, allocations: 16.36 kB / 0.8834 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01466, allocations: 4 kB / 0.8834 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01466, allocations: 4 kB / 0.8834 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01467, allocations: 0 / 0.8834 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.0162, allocations: 0.5122 MB / 0.8839 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01621, allocations: 0 / 0.8839 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.01641, allocations: 39.95 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01642, allocations: 3.938 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.01643, allocations: 4 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01644, allocations: 0 / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01644, allocations: 64 / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008334/0.01727, allocations: 351 kB / 0.8843 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.01729, allocations: 15.94 kB / 0.8843 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.01731, allocations: 0 / 0.8843 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.01751, allocations: 19.98 kB / 0.8843 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.01757, allocations: 7.984 kB / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.01759, allocations: 15.98 kB / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001004/0.01769, allocations: 131.6 kB / 0.8844 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01769, allocations: 0 / 0.8844 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003063/0.018, allocations: 35.92 kB / 0.8845 GB, free: 15.17 MB / 0.8542 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.0002552/0.01825, allocations: 131.1 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007446/0.019, allocations: 163.5 kB / 0.8848 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.019, allocations: 0 / 0.8848 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.01935, allocations: 95.55 kB / 0.8848 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.01961, allocations: 12.62 kB / 0.8849 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.0208, allocations: 328 kB / 0.8852 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.381e-05/0.02088, allocations: 83.25 kB / 0.8853 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.02099, allocations: 20.72 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.02107, allocations: 20.48 kB / 0.8853 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.02107, allocations: 0 / 0.8853 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.005524/0.02659, allocations: 1.797 MB / 0.887 GB, free: 12.48 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.519431936903857]