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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 189.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.927/2.927, allocations: 495.7 MB / 0.7831 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00195/0.00195, allocations: 71.02 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.291, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001766/0.2927, allocations: 0.6412 MB / 1.308 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2947, allocations: 1.47 MB / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.2947, allocations: 0 / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.2947, allocations: 0 / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.655e-05/0.2948, allocations: 3.938 kB / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.2952, allocations: 127.5 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.599e-05/0.2953, allocations: 27.86 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.622e-05/0.2953, allocations: 15.97 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.2954, allocations: 11.94 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.636e-05/0.2954, allocations: 23.91 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2954, allocations: 0 / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.2959, allocations: 323.4 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.2959, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.296, allocations: 23.8 kB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.2963, allocations: 183.5 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2963, allocations: 0 / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2963, allocations: 8 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2963, allocations: 0 / 1.31 GB, free: 14.99 MB / 1.014 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.0005186/0.2968, allocations: 297.8 kB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2969, allocations: 8.031 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.2972, allocations: 64.81 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2974, allocations: 118.5 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2974, allocations: 384 / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2974, allocations: 8.312 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.2977, allocations: 77.95 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2977, allocations: 3.953 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2977, allocations: 4 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2977, allocations: 4 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.2981, allocations: 75.86 kB / 1.31 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.2983, allocations: 136.8 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/0.2988, allocations: 126.5 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.299, allocations: 40.94 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.299, allocations: 3.984 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.2991, allocations: 38.5 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2991, allocations: 0 / 1.311 GB, free: 13.88 MB / 1.014 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.004161/0.3032, allocations: 0.7857 MB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3033, allocations: 51.41 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3034, allocations: 113.8 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3034, allocations: 29.7 kB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.3035, allocations: 88.14 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.3035, allocations: 31.73 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.3036, allocations: 25.7 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3037, allocations: 314.8 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.3041, allocations: 99.83 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.3046, allocations: 99.89 kB / 1.312 GB, free: 12.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008453/0.3054, allocations: 188.7 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3054, allocations: 0 / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009427/0.3064, allocations: 249.3 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3064, allocations: 4 kB / 1.313 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3064, allocations: 4 kB / 1.313 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3064, allocations: 0 / 1.313 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.3067, allocations: 52.31 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3067, allocations: 0 / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.307, allocations: 43.95 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.307, allocations: 320 / 1.313 GB, free: 11.66 MB / 1.014 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.298e-05/0.3071, allocations: 125.6 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3071, allocations: 15.95 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.3071, allocations: 12.36 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3071, allocations: 3.938 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3071, allocations: 0.75 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3071, allocations: 0 / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.3089, allocations: 0.5731 MB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3089, allocations: 0 / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.3091, allocations: 55.88 kB / 1.314 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3091, allocations: 4.062 kB / 1.314 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.3092, allocations: 12 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3092, allocations: 0 / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3092, allocations: 0 / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009747/0.3101, allocations: 340.9 kB / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.3101, allocations: 15.94 kB / 1.314 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.3102, allocations: 0 / 1.314 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.3104, allocations: 39.95 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.3105, allocations: 11.92 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3105, allocations: 8 kB / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.3105, allocations: 91.27 kB / 1.314 GB, free: 10.28 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3105, allocations: 0 / 1.314 GB, free: 10.28 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002787/0.3108, allocations: 31.88 kB / 1.314 GB, free: 10.25 MB / 1.014 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.0001921/0.311, allocations: 131.9 kB / 1.314 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009335/0.3119, allocations: 207.7 kB / 1.314 GB, free: 9.906 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3119, allocations: 0 / 1.314 GB, free: 9.906 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004678/0.3124, allocations: 104 kB / 1.315 GB, free: 9.805 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3126, allocations: 10.23 kB / 1.315 GB, free: 9.797 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3142, allocations: 420.2 kB / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3145, allocations: 0.6846 MB / 1.316 GB, free: 8.645 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.865e-05/0.3146, allocations: 28.88 kB / 1.316 GB, free: 8.617 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.3147, allocations: 19.42 kB / 1.316 GB, free: 8.598 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.3147, allocations: 0 / 1.316 GB, free: 8.598 MB / 1.014 GB Notification: Performance of Templates: time 0.004392/0.319, allocations: 1.718 MB / 1.317 GB, free: 6.883 MB / 1.014 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=800 -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/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.183948759920895]