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.001335/0.001335, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.0016/0.0016, allocations: 169.9 kB / 22.46 MB, free: 5.363 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.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.868/2.868, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.595e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001619/0.001644, allocations: 0.6345 MB / 0.9821 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.003777, allocations: 1.427 MB / 0.9835 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.00381, allocations: 4 kB / 0.9835 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.003829, allocations: 3.938 kB / 0.9835 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.393e-05/0.003903, allocations: 0 / 0.9835 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.004357, allocations: 131.4 kB / 0.9836 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.004437, allocations: 31.89 kB / 0.9837 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.004478, allocations: 0 / 0.9837 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.004534, allocations: 23.86 kB / 0.9837 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.00461, allocations: 19.92 kB / 0.9837 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.004625, allocations: 0 / 0.9837 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/0.00504, allocations: 243.5 kB / 0.9839 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.005066, allocations: 15.97 kB / 0.984 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.005087, allocations: 7.938 kB / 0.984 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.005428, allocations: 199.5 kB / 0.9842 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.005432, allocations: 0 / 0.9842 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005433, allocations: 0 / 0.9842 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.005437, allocations: 0 / 0.9842 GB, free: 8.109 MB / 0.8887 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.0005241/0.005962, allocations: 309.8 kB / 0.9844 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.005998, allocations: 8.031 kB / 0.9845 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/0.006406, allocations: 60.86 kB / 0.9845 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.006555, allocations: 121.7 kB / 0.9846 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.006571, allocations: 384 / 0.9846 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.006596, allocations: 8.375 kB / 0.9846 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.006889, allocations: 78.14 kB / 0.9847 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.0069, allocations: 192 / 0.9847 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.00691, allocations: 4.312 kB / 0.9847 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.006917, allocations: 3.938 kB / 0.9847 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.007303, allocations: 71.92 kB / 0.9848 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.007472, allocations: 125.3 kB / 0.9849 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.008055, allocations: 118.5 kB / 0.985 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.008247, allocations: 44.94 kB / 0.9851 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.008263, allocations: 0 / 0.9851 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.008291, allocations: 34.5 kB / 0.9851 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.008292, allocations: 0 / 0.9851 GB, free: 7.031 MB / 0.8887 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.004425/0.01272, allocations: 0.7935 MB / 0.9859 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.01277, allocations: 51.41 kB / 0.9859 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.01288, allocations: 109.8 kB / 0.986 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.01291, allocations: 29.7 kB / 0.9861 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.01296, allocations: 88.05 kB / 0.9861 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.013, allocations: 31.69 kB / 0.9862 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.01307, allocations: 25.7 kB / 0.9862 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.01322, allocations: 322.8 kB / 0.9865 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.01368, allocations: 99.98 kB / 0.9866 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.01417, allocations: 95.84 kB / 0.9867 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009021/0.01507, allocations: 192.7 kB / 0.9869 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01507, allocations: 0 / 0.9869 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001008/0.01608, allocations: 245.4 kB / 0.9871 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.01609, allocations: 6.344 kB / 0.9871 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.0161, allocations: 3.938 kB / 0.9871 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.01612, allocations: 4 kB / 0.9871 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.01646, allocations: 51.94 kB / 0.9872 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01647, allocations: 3.938 kB / 0.9872 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.01671, allocations: 39.95 kB / 0.9872 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.01673, allocations: 8 kB / 0.9872 GB, free: 4.797 MB / 0.8887 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 9.689e-05/0.01682, allocations: 109.8 kB / 0.9873 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.01685, allocations: 7.953 kB / 0.9873 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.0169, allocations: 20.34 kB / 0.9873 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.0169, allocations: 4 kB / 0.9874 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01691, allocations: 0 / 0.9874 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01691, allocations: 4.688 kB / 0.9874 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.01867, allocations: 0.5308 MB / 0.9879 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01867, allocations: 0 / 0.9879 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.01896, allocations: 59.94 kB / 0.9879 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01896, allocations: 0 / 0.9879 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01898, allocations: 8.281 kB / 0.9879 GB, free: 4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01898, allocations: 0 / 0.9879 GB, free: 4 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01898, allocations: 0 / 0.9879 GB, free: 4 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.02003, allocations: 348.8 kB / 0.9883 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.02005, allocations: 11.94 kB / 0.9883 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.02007, allocations: 8 kB / 0.9883 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.02034, allocations: 31.95 kB / 0.9883 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.02039, allocations: 7.984 kB / 0.9883 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.0204, allocations: 8 kB / 0.9883 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.555e-05/0.02047, allocations: 95.27 kB / 0.9884 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.02047, allocations: 0 / 0.9884 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003056/0.02078, allocations: 35.88 kB / 0.9885 GB, free: 3.441 MB / 0.8887 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.0002367/0.02101, allocations: 139 kB / 0.9886 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.02203, allocations: 203.7 kB / 0.9888 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02203, allocations: 0 / 0.9888 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.02251, allocations: 108 kB / 0.9889 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.02276, allocations: 7.938 kB / 0.9889 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.02445, allocations: 406.1 kB / 0.9893 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.985e-05/0.02452, allocations: 67.34 kB / 0.9894 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.02462, allocations: 24.72 kB / 0.9894 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.0247, allocations: 20.77 kB / 0.9894 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of SimCode: time 9.31e-07/0.0247, allocations: 0 / 0.9894 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of Templates: time 0.004881/0.02958, allocations: 1.767 MB / 0.9911 GB, free: 0.6719 MB / 0.8887 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: 7.828641880303621]