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.001687/0.001687, allocations: 95.77 kB / 18.94 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.001981/0.001981, allocations: 220.2 kB / 22.25 MB, free: 5.113 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.828 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.174/3.174, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.002014/0.002014, allocations: 65.45 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.323, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001935/0.3249, allocations: 0.6368 MB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00228/0.3272, allocations: 1.439 MB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.3272, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.3272, allocations: 7.875 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.3273, allocations: 3.984 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.3278, allocations: 127.5 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.972e-05/0.3279, allocations: 31.92 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.3279, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.3279, allocations: 15.92 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.328, allocations: 23.91 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.328, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.3284, allocations: 263.5 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.3285, allocations: 15.91 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.3285, allocations: 7.938 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.3288, allocations: 171.8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3288, allocations: 4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3288, allocations: 4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3288, allocations: 0 / 1.329 GB, free: 14.74 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.0005182/0.3293, allocations: 305.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3294, allocations: 12.03 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.3294, allocations: 30.75 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.3298, allocations: 64.86 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.33, allocations: 122.4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.33, allocations: 384 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.33, allocations: 8.312 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.3303, allocations: 81.7 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3303, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3303, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3303, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.3307, allocations: 67.92 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.3309, allocations: 140.7 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.3315, allocations: 126.4 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.3317, allocations: 40.95 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3317, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.3317, allocations: 38.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.3317, allocations: 0 / 1.33 GB, free: 13.59 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.004404/0.3361, allocations: 0.7818 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.3362, allocations: 59.41 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3363, allocations: 121.9 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.3363, allocations: 29.64 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.3364, allocations: 84.14 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.3365, allocations: 31.73 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.3365, allocations: 25.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3367, allocations: 318.8 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.3371, allocations: 95.89 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.3375, allocations: 99.89 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/0.3384, allocations: 192.6 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3384, allocations: 3.938 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009209/0.3393, allocations: 241.4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3393, allocations: 8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3393, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.3393, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.3397, allocations: 56.62 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3397, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.3399, allocations: 35.95 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.34, allocations: 4 kB / 1.332 GB, free: 11.36 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.0001743/0.3401, allocations: 118.3 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.3402, allocations: 7.984 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.3402, allocations: 12.38 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3402, allocations: 3.938 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.3403, allocations: 4.281 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3403, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.3421, allocations: 0.5614 MB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.3421, allocations: 7.922 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.3424, allocations: 47.95 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3424, allocations: 3.984 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3424, allocations: 8.062 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3424, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3424, allocations: 3.938 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.3434, allocations: 341 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.3434, allocations: 7.953 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.3435, allocations: 4 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.3437, allocations: 39.95 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.3438, allocations: 19.84 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3438, allocations: 7.984 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.3439, allocations: 87.28 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3439, allocations: 0 / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003549/0.3442, allocations: 43.86 kB / 1.333 GB, free: 9.953 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.001454/0.3457, allocations: 0.8896 MB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008911/0.3466, allocations: 207.7 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3466, allocations: 4 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.347, allocations: 108 kB / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3473, allocations: 13.97 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.352, allocations: 2.124 MB / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.543e-05/0.3521, allocations: 75.27 kB / 1.336 GB, free: 6.398 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.3522, allocations: 24.61 kB / 1.336 GB, free: 6.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.677e-05/0.3523, allocations: 27.41 kB / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.3523, allocations: 0 / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.3813, allocations: 3.403 MB / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.79, allocations: 6.625 kB / 1.34 GB, free: 3.074 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 & /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: 18.482945777999703]