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.002041/0.002041, allocations: 104.8 kB / 16.45 MB, free: 6.453 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.002197/0.002197, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.528/1.528, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.206/3.206, allocations: 0.49 GB / 0.7916 GB, free: 33.33 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.002017/0.002017, allocations: 69.36 kB / 1.149 GB, free: 26.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 176.1 MB / 1.321 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001958/0.3272, allocations: 0.6448 MB / 1.321 GB, free: 2.617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.3297, allocations: 1.517 MB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.3298, allocations: 0 / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.3298, allocations: 3.938 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.3299, allocations: 0 / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.3304, allocations: 123.5 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.237e-05/0.3305, allocations: 35.89 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.482e-05/0.3306, allocations: 3.938 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/0.3306, allocations: 12 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.3307, allocations: 23.84 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3307, allocations: 4 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/0.3313, allocations: 311.4 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.3313, allocations: 11.92 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.3313, allocations: 15.92 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.3317, allocations: 187.7 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3317, allocations: 0 / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3317, allocations: 4 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.3318, allocations: 0 / 1.324 GB, free: 368 kB / 1.014 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.0007703/0.3325, allocations: 382.9 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/0.3326, allocations: 15.98 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.3326, allocations: 30.75 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/0.3331, allocations: 56.86 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3332, allocations: 180.3 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.3333, allocations: 8.312 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3333, allocations: 384 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.3336, allocations: 81.7 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3336, allocations: 0 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3336, allocations: 0 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3336, allocations: 4 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.334, allocations: 75.91 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.3343, allocations: 165.7 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.3349, allocations: 130.4 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.3351, allocations: 36.95 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3351, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.3351, allocations: 42.5 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3351, allocations: 0 / 1.325 GB, free: 15 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.004525/0.3396, allocations: 0.7861 MB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3397, allocations: 59.34 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3398, allocations: 113.8 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.3398, allocations: 25.7 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.3399, allocations: 88.14 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.3399, allocations: 31.73 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.34, allocations: 25.7 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3401, allocations: 318.8 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.3406, allocations: 95.89 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.3411, allocations: 95.89 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.342, allocations: 201.1 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.342, allocations: 3.938 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001037/0.343, allocations: 241.4 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.343, allocations: 8 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.343, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3431, allocations: 4 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.3434, allocations: 51.88 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3434, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.3437, allocations: 43.95 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3437, allocations: 8 kB / 1.327 GB, free: 12.77 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.0001129/0.3438, allocations: 113.8 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.3438, allocations: 8 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.3439, allocations: 12.38 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3439, allocations: 4 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3439, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3439, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.3458, allocations: 0.6012 MB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3458, allocations: 0 / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.3461, allocations: 56 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3461, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3461, allocations: 7.984 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3461, allocations: 0 / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.3461, allocations: 7.938 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3472, allocations: 348.9 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.3472, allocations: 85.06 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3472, allocations: 4 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.3475, allocations: 39.95 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.3476, allocations: 11.92 kB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.3476, allocations: 4 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.553e-05/0.3476, allocations: 99.58 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3476, allocations: 192 / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003288/0.348, allocations: 43.86 kB / 1.328 GB, free: 11.22 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.001787/0.3497, allocations: 0.8973 MB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.3507, allocations: 203.7 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3508, allocations: 0 / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.3513, allocations: 108 kB / 1.33 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.3515, allocations: 17.81 kB / 1.33 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.3568, allocations: 2.141 MB / 1.332 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3572, allocations: 0.69 MB / 1.332 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.542e-05/0.3572, allocations: 16.67 kB / 1.332 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/0.3573, allocations: 27.36 kB / 1.332 GB, free: 6.984 MB / 1.029 GB Notification: Performance of SimCode: time 9.42e-07/0.3573, allocations: 288 / 1.332 GB, free: 6.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.384, allocations: 2.753 MB / 1.335 GB, free: 4.336 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.648, allocations: 21.84 kB / 1.335 GB, free: 4.32 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.33068241016008]