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.001379/0.001379, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002053/0.002053, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.793 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.274/3.274, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.00215/0.00215, allocations: 67.7 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3268, allocations: 176.1 MB / 1.325 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001916/0.3287, allocations: 0.6394 MB / 1.326 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.3309, allocations: 1.439 MB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.3309, allocations: 0 / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.3309, allocations: 3.938 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-05/0.331, allocations: 3.984 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.3315, allocations: 127.5 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.3316, allocations: 23.92 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.3316, allocations: 0 / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.127e-05/0.3316, allocations: 19.92 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.3317, allocations: 19.84 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3317, allocations: 4 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.3322, allocations: 247.5 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.3322, allocations: 15.86 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.3322, allocations: 11.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.3325, allocations: 175.8 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3325, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3325, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.3325, allocations: 0 / 1.328 GB, free: 15.57 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.0005429/0.3331, allocations: 305.8 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3331, allocations: 12.03 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.3332, allocations: 30.75 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.3335, allocations: 60.86 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3337, allocations: 122.4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3337, allocations: 384 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.3337, allocations: 8.359 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.334, allocations: 81.66 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.334, allocations: 3.984 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3341, allocations: 4 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3341, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.3344, allocations: 67.92 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.3346, allocations: 140.7 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.3352, allocations: 118.5 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.3353, allocations: 44.94 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3354, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3354, allocations: 42.44 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3354, allocations: 0 / 1.329 GB, free: 14.42 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.004019/0.3394, allocations: 0.7848 MB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.3395, allocations: 59.41 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3396, allocations: 113.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.3396, allocations: 25.7 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.3396, allocations: 84.14 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.3397, allocations: 35.72 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.3398, allocations: 21.72 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3399, allocations: 322.8 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.3403, allocations: 100.2 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.3408, allocations: 95.84 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/0.3416, allocations: 196.7 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3416, allocations: 3.938 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009018/0.3425, allocations: 245.4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3425, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3425, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3425, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.3429, allocations: 55.88 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3429, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.3431, allocations: 35.95 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3431, allocations: 4 kB / 1.331 GB, free: 12.19 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 9.606e-05/0.3432, allocations: 118.3 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.3432, allocations: 4 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.3433, allocations: 16.36 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3433, allocations: 3.938 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3433, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3433, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.345, allocations: 0.5575 MB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.345, allocations: 7.922 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.3453, allocations: 52 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3453, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3453, allocations: 4.266 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3453, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3453, allocations: 3.938 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009738/0.3463, allocations: 344.9 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.3463, allocations: 7.953 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3463, allocations: 8 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.3466, allocations: 35.95 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.3466, allocations: 11.92 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3466, allocations: 7.984 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.95e-05/0.3467, allocations: 87.28 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3467, allocations: 4 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003042/0.347, allocations: 43.86 kB / 1.332 GB, free: 10.79 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.001444/0.3484, allocations: 0.8895 MB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009606/0.3494, allocations: 211.7 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3494, allocations: 0 / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.3498, allocations: 104 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.3501, allocations: 7.938 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.355, allocations: 2.131 MB / 1.335 GB, free: 7.328 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.192e-05/0.355, allocations: 71.7 kB / 1.335 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.3551, allocations: 29.33 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.3552, allocations: 23.42 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.3552, allocations: 0 / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.3857, allocations: 3.369 MB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.91, allocations: 11.91 kB / 1.339 GB, free: 3.941 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.71709995623678]