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.001727/0.001727, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002278/0.002278, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.309/3.309, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [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.001848/0.001848, allocations: 68.09 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3608, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001829/0.3627, allocations: 0.6433 MB / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.3647, allocations: 1.529 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.3647, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.3647, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.3648, allocations: 11.92 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.3652, allocations: 123.5 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.3652, allocations: 31.84 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.3653, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.483e-05/0.3653, allocations: 15.92 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.3654, allocations: 15.92 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3654, allocations: 4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.3658, allocations: 319.4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.3659, allocations: 7.984 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.3659, allocations: 19.86 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.3662, allocations: 191.7 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3662, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3662, allocations: 3.938 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.3662, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 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.0004633/0.3666, allocations: 305.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3667, allocations: 16.03 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.3667, allocations: 34.75 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.367, allocations: 52.86 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3672, allocations: 122.4 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3672, allocations: 384 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.3672, allocations: 8.375 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.3675, allocations: 73.77 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3675, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.3675, allocations: 4 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3675, allocations: 4 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.3678, allocations: 71.84 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.368, allocations: 144.7 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.3685, allocations: 122.5 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.3687, allocations: 48.94 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.3687, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3687, allocations: 38.44 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.3687, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 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.003915/0.3726, allocations: 0.7818 MB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.3727, allocations: 55.41 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.3728, allocations: 117.8 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.3728, allocations: 25.7 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.3728, allocations: 88.12 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.3729, allocations: 27.75 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.3729, allocations: 29.7 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3731, allocations: 314.8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.3735, allocations: 103.8 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.3739, allocations: 95.89 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.3746, allocations: 196.9 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3746, allocations: 3.938 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008517/0.3755, allocations: 241.4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3755, allocations: 8 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3755, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3755, allocations: 3.984 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.3758, allocations: 51.95 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3758, allocations: 3.984 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.376, allocations: 31.97 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.376, allocations: 8.734 kB / 1.332 GB, free: 11.57 MB / 1.029 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 8.875e-05/0.3761, allocations: 122.2 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.3761, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.3762, allocations: 16.38 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3762, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3762, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3762, allocations: 3.984 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.3777, allocations: 0.5653 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3778, allocations: 7.984 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.378, allocations: 55.95 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.378, allocations: 3.984 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.378, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.378, allocations: 3.938 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.378, allocations: 3.938 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008786/0.3789, allocations: 345 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.3789, allocations: 4.047 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3789, allocations: 7.938 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.3792, allocations: 39.95 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.3792, allocations: 15.91 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3792, allocations: 7.984 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.987e-05/0.3793, allocations: 87.28 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3793, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002724/0.3796, allocations: 43.86 kB / 1.333 GB, free: 10.16 MB / 1.029 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.001297/0.3809, allocations: 0.8857 MB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008559/0.3817, allocations: 211.7 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3817, allocations: 0 / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.3821, allocations: 112 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.3824, allocations: 9.656 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.3871, allocations: 2.133 MB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3874, allocations: 0.6885 MB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.3875, allocations: 24.89 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/0.3876, allocations: 27.41 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/0.3876, allocations: 0 / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.4173, allocations: 2.884 MB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.44, allocations: 7.109 kB / 1.34 GB, free: 3.168 MB / 1.029 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 19.502623287960887]