Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001558/0.001558, allocations: 112.4 kB / 17.08 MB, free: 5.949 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.001725/0.001725, allocations: 192.7 kB / 20.03 MB, free: 3.027 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.459/1.459, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 437.1 MB / 0.7177 GB, free: 4.48 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.89 kB / 1.028 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2912, allocations: 151.6 MB / 1.176 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001841/0.2931, allocations: 0.6376 MB / 1.177 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.2952, allocations: 1.451 MB / 1.178 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.2953, allocations: 7.938 kB / 1.178 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.2954, allocations: 0 / 1.178 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.2955, allocations: 11.92 kB / 1.178 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.2959, allocations: 119.5 kB / 1.178 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.296, allocations: 27.86 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.2961, allocations: 8 kB / 1.178 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.2961, allocations: 11.92 kB / 1.178 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.396e-05/0.2962, allocations: 23.91 kB / 1.178 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.2962, allocations: 0 / 1.178 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.2967, allocations: 315.4 kB / 1.178 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.2967, allocations: 7.984 kB / 1.178 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.2968, allocations: 23.8 kB / 1.178 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.2971, allocations: 183.5 kB / 1.179 GB, free: 2.996 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2971, allocations: 0 / 1.179 GB, free: 2.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2971, allocations: 4 kB / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.2971, allocations: 4 kB / 1.179 GB, free: 2.988 MB / 0.92 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.0005821/0.2977, allocations: 378.9 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2977, allocations: 12.02 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.2981, allocations: 60.83 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.2983, allocations: 176.3 kB / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2984, allocations: 384 / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.2984, allocations: 8.312 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.2987, allocations: 73.95 kB / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2987, allocations: 0 / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2987, allocations: 8 kB / 1.179 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2987, allocations: 0 / 1.179 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.2991, allocations: 75.84 kB / 1.179 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.2993, allocations: 165.7 kB / 1.18 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/0.2999, allocations: 130.5 kB / 1.18 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.3001, allocations: 36.95 kB / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3001, allocations: 0 / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.3002, allocations: 38.48 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 3.898e-06/0.3002, allocations: 8 kB / 1.18 GB, free: 1.68 MB / 0.92 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.004152/0.3043, allocations: 0.7784 MB / 1.181 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3044, allocations: 55.41 kB / 1.181 GB, free: 0.832 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3045, allocations: 113.9 kB / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3046, allocations: 29.64 kB / 1.181 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.3046, allocations: 84.14 kB / 1.181 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.3047, allocations: 35.72 kB / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.3047, allocations: 29.7 kB / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3049, allocations: 318.8 kB / 1.181 GB, free: 204 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.3053, allocations: 95.91 kB / 1.181 GB, free: 108 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.3058, allocations: 99.83 kB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.3067, allocations: 192.7 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3067, allocations: 4.188 kB / 1.182 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009455/0.3076, allocations: 245.3 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3076, allocations: 4 kB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3077, allocations: 0 / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3077, allocations: 4 kB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.308, allocations: 51.94 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.308, allocations: 0 / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3082, allocations: 43.95 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3083, allocations: 3.984 kB / 1.182 GB, free: 15.46 MB / 0.9356 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.0001009/0.3084, allocations: 121.7 kB / 1.182 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.3084, allocations: 11.94 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.3085, allocations: 8.375 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3085, allocations: 7.938 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3085, allocations: 288 / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3085, allocations: 4 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.3102, allocations: 0.5897 MB / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3102, allocations: 7.922 kB / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.3105, allocations: 51.89 kB / 1.183 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3105, allocations: 3.984 kB / 1.183 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3105, allocations: 12.06 kB / 1.183 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3105, allocations: 0 / 1.183 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3105, allocations: 0 / 1.183 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.3115, allocations: 344.9 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.3116, allocations: 89.06 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.3116, allocations: 0 / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.3119, allocations: 31.95 kB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.3119, allocations: 19.92 kB / 1.183 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.312, allocations: 11.98 kB / 1.183 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.474e-05/0.312, allocations: 91.66 kB / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.312, allocations: 0 / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003015/0.3123, allocations: 39.86 kB / 1.183 GB, free: 13.91 MB / 0.9356 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.0002326/0.3126, allocations: 135.1 kB / 1.183 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009505/0.3135, allocations: 211.7 kB / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3136, allocations: 0 / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.314, allocations: 108 kB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.3143, allocations: 8 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.3158, allocations: 423.9 kB / 1.184 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3161, allocations: 0.6884 MB / 1.185 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.3162, allocations: 27.41 kB / 1.185 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of SimCode: time 3.9e-07/0.3162, allocations: 0 / 1.185 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of Templates: time 0.003333/0.3196, allocations: 1.432 MB / 1.186 GB, free: 10.83 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.234571955981664]