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.001564/0.001564, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001719/0.001719, allocations: 158.6 kB / 23.01 MB, free: 4.949 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.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 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 2.844/2.844, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: 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.002105/0.002105, allocations: 71.88 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8058, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001565/0.8073, allocations: 0.637 MB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.8089, allocations: 1.43 MB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.8089, allocations: 1.375 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.8089, allocations: 3.938 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.809, allocations: 9.844 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.8094, allocations: 122.8 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.84e-05/0.8094, allocations: 26.03 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.8095, allocations: 5.562 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.8095, allocations: 21.22 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.8095, allocations: 19.06 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.8096, allocations: 2.625 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.81, allocations: 251.1 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.81, allocations: 4.719 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.81, allocations: 15.55 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.8103, allocations: 171.7 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8103, allocations: 0 / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8103, allocations: 0.7031 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.8103, allocations: 4 kB / 1.189 GB, free: 14.57 MB / 1.076 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.0003941/0.8107, allocations: 301.1 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.8107, allocations: 9.875 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003746/0.8111, allocations: 67 kB / 1.19 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.606e-05/0.8112, allocations: 121 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.8112, allocations: 2.406 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.8112, allocations: 6.625 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.8115, allocations: 76.7 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8115, allocations: 4.656 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.8115, allocations: 1.125 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8115, allocations: 1.438 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.8118, allocations: 70.84 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.812, allocations: 124.6 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.8125, allocations: 124.1 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.8127, allocations: 43.52 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.8127, allocations: 1.375 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.8127, allocations: 36.34 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.8127, allocations: 0 / 1.19 GB, free: 13.83 MB / 1.076 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.004118/0.8168, allocations: 0.7889 MB / 1.191 GB, free: 13.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.8168, allocations: 53.28 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.8169, allocations: 118.9 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.8169, allocations: 29.7 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.755e-05/0.8169, allocations: 83.56 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.817, allocations: 28.75 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.817, allocations: 26.55 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.544e-05/0.8171, allocations: 318.6 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.8175, allocations: 95.12 kB / 1.192 GB, free: 13.03 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.8179, allocations: 100.1 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/0.8188, allocations: 194.4 kB / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.8188, allocations: 0 / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009257/0.8197, allocations: 244.7 kB / 1.192 GB, free: 12.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.8197, allocations: 9.531 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.8197, allocations: 0 / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8197, allocations: 2.375 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.82, allocations: 54.73 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.8201, allocations: 1.344 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.8203, allocations: 36.86 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.8203, allocations: 4.844 kB / 1.192 GB, free: 12.89 MB / 1.076 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 5.252e-05/0.8204, allocations: 112.4 kB / 1.192 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.8204, allocations: 10.8 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.8204, allocations: 15.47 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.8204, allocations: 5.344 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8204, allocations: 1.094 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.8204, allocations: 0.7031 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.822, allocations: 0.551 MB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.822, allocations: 1.094 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.8223, allocations: 51.25 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8223, allocations: 0.7188 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.8223, allocations: 4.297 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.8223, allocations: 5.516 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8223, allocations: 1.094 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009357/0.8232, allocations: 340.5 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.8232, allocations: 12.61 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.8233, allocations: 5.984 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.8235, allocations: 37.56 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.8236, allocations: 7.844 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.8236, allocations: 6.328 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.8236, allocations: 98.02 kB / 1.194 GB, free: 12.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8236, allocations: 0 / 1.194 GB, free: 12.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002981/0.8239, allocations: 41.36 kB / 1.194 GB, free: 12.13 MB / 1.076 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.0001508/0.8241, allocations: 123.8 kB / 1.194 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009458/0.825, allocations: 205.3 kB / 1.194 GB, free: 12.01 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.825, allocations: 0 / 1.194 GB, free: 12.01 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004525/0.8255, allocations: 108.1 kB / 1.194 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.8257, allocations: 11.31 kB / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.8272, allocations: 400.8 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.551e-05/0.8273, allocations: 73.88 kB / 1.194 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.457e-05/0.8274, allocations: 26.19 kB / 1.195 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.8274, allocations: 19.88 kB / 1.195 GB, free: 11.73 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.8274, allocations: 0.75 kB / 1.195 GB, free: 11.73 MB / 1.076 GB Notification: Performance of Templates: time 0.004712/0.8321, allocations: 1.766 MB / 1.196 GB, free: 11.54 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 800] 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/jenkins1/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.442830746993423]