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.001305/0.001305, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001574/0.001574, allocations: 220.3 kB / 22.25 MB, free: 5.102 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.809 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.282/3.282, allocations: 0.49 GB / 0.7951 GB, free: 35.61 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.002071/0.002071, allocations: 63.12 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3397, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002066/0.3417, allocations: 0.6398 MB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.3439, allocations: 1.436 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.344, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.344, allocations: 3.938 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.438e-05/0.3441, allocations: 7.938 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.3446, allocations: 127.4 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.421e-05/0.3446, allocations: 23.98 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.3447, allocations: 7.984 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.3447, allocations: 7.938 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.3448, allocations: 31.84 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3448, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.3452, allocations: 267.5 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.3453, allocations: 3.938 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.3453, allocations: 19.86 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.3456, allocations: 171.8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.3456, allocations: 4 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3456, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3456, allocations: 0 / 1.329 GB, free: 14.72 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.0005689/0.3462, allocations: 309.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3462, allocations: 11.97 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.988e-05/0.3463, allocations: 34.73 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003725/0.3467, allocations: 60.86 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.3468, allocations: 122.4 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3468, allocations: 4.375 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.3468, allocations: 384 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.3471, allocations: 77.75 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3471, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3472, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3472, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.3475, allocations: 75.91 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.3478, allocations: 136.7 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.3483, allocations: 122.4 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.3485, allocations: 40.95 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3485, allocations: 7.984 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3486, allocations: 34.5 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3486, allocations: 0 / 1.33 GB, free: 13.56 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.004082/0.3526, allocations: 0.7824 MB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.3527, allocations: 51.41 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3528, allocations: 113.8 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3529, allocations: 25.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.3529, allocations: 92.14 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.353, allocations: 31.73 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.353, allocations: 25.7 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3532, allocations: 318.8 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.3536, allocations: 92.66 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.354, allocations: 103.9 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/0.3548, allocations: 196.6 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3548, allocations: 3.938 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000945/0.3558, allocations: 241.4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3558, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3558, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3558, allocations: 8 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.3561, allocations: 51.94 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3561, allocations: 3.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.3564, allocations: 39.95 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3564, allocations: 7.984 kB / 1.332 GB, free: 11.34 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 0.0001041/0.3565, allocations: 118.3 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.3565, allocations: 4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.3566, allocations: 8.375 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3566, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3566, allocations: 4 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3566, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.3583, allocations: 0.5614 MB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3583, allocations: 0 / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.3586, allocations: 56 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3586, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3586, allocations: 4 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3586, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3586, allocations: 3.938 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3596, allocations: 349.2 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.3596, allocations: 11.94 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.3597, allocations: 8 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.3599, allocations: 39.89 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.36, allocations: 11.92 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.36, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.542e-05/0.3601, allocations: 95.64 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3601, allocations: 0 / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003068/0.3604, allocations: 39.88 kB / 1.333 GB, free: 9.941 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.001406/0.3618, allocations: 0.8896 MB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009269/0.3627, allocations: 207.7 kB / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3627, allocations: 0 / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.3632, allocations: 112.2 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3634, allocations: 17.91 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.3683, allocations: 2.131 MB / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.595e-05/0.3684, allocations: 71.34 kB / 1.336 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.3685, allocations: 24.97 kB / 1.336 GB, free: 6.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.344e-05/0.3686, allocations: 27.42 kB / 1.336 GB, free: 6.328 MB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/0.3686, allocations: 0 / 1.336 GB, free: 6.328 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.3997, allocations: 3.398 MB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.63, allocations: 13 kB / 1.34 GB, free: 3.059 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable y in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable y from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable xInv in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable xInv from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable dy_dt in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable dy_dt from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.604183435003506]