Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 106.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.14/3.14, allocations: 497.2 MB / 0.7811 GB, free: 33.85 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 70.48 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3285, allocations: 173.9 MB / 1.304 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001901/0.3304, allocations: 0.6456 MB / 1.305 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.3324, allocations: 1.466 MB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.3325, allocations: 0 / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.3325, allocations: 7.938 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.724e-05/0.3325, allocations: 0 / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.333, allocations: 119.5 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.193e-05/0.3331, allocations: 27.86 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.3331, allocations: 3.984 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.3331, allocations: 19.94 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.3332, allocations: 23.89 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3332, allocations: 4 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.3337, allocations: 307.4 kB / 1.307 GB, free: 14.85 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.3337, allocations: 15.91 kB / 1.307 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.3337, allocations: 15.88 kB / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.334, allocations: 183.8 kB / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.334, allocations: 0 / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3341, allocations: 0 / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.3341, allocations: 3.984 kB / 1.307 GB, free: 14.63 MB / 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.0005131/0.3346, allocations: 383 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3346, allocations: 12.62 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.3346, allocations: 30.75 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.335, allocations: 60.81 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3352, allocations: 188.2 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3352, allocations: 384 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.3352, allocations: 384 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3355, allocations: 81.7 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3355, allocations: 0 / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3355, allocations: 3.938 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3355, allocations: 4 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.3358, allocations: 71.92 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.336, allocations: 165.7 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.3366, allocations: 126.5 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.3368, allocations: 40.89 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3368, allocations: 4 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3368, allocations: 34.5 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3368, allocations: 0 / 1.308 GB, free: 13.28 MB / 1.014 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.004055/0.3409, allocations: 0.7808 MB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3409, allocations: 59.34 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.341, allocations: 113.8 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.341, allocations: 25.7 kB / 1.309 GB, free: 12.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.3411, allocations: 84.14 kB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.3411, allocations: 39.67 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.3412, allocations: 29.7 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3413, allocations: 318.8 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.3417, allocations: 95.89 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.3421, allocations: 95.89 kB / 1.31 GB, free: 11.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.3429, allocations: 201.1 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3429, allocations: 3.938 kB / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009079/0.3439, allocations: 237.5 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3439, allocations: 4 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3439, allocations: 0 / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3439, allocations: 4 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.3442, allocations: 55.88 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3442, allocations: 4 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.3444, allocations: 35.95 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3444, allocations: 8 kB / 1.31 GB, free: 11.05 MB / 1.014 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.964e-05/0.3445, allocations: 117.8 kB / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.3446, allocations: 7.953 kB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.3446, allocations: 12.38 kB / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.3446, allocations: 11.98 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3446, allocations: 0 / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3446, allocations: 0 / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.3463, allocations: 0.6051 MB / 1.311 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.3463, allocations: 0 / 1.311 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.3466, allocations: 51.94 kB / 1.311 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3466, allocations: 0 / 1.311 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3466, allocations: 8.047 kB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3466, allocations: 4 kB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.3466, allocations: 7.938 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009645/0.3475, allocations: 341 kB / 1.311 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3476, allocations: 81.11 kB / 1.311 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.3476, allocations: 4 kB / 1.311 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.3479, allocations: 35.95 kB / 1.311 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.3479, allocations: 15.92 kB / 1.311 GB, free: 9.645 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3479, allocations: 4 kB / 1.311 GB, free: 9.641 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.348, allocations: 91.45 kB / 1.311 GB, free: 9.551 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.348, allocations: 3.938 kB / 1.311 GB, free: 9.547 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003103/0.3483, allocations: 43.81 kB / 1.311 GB, free: 9.504 MB / 1.014 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.001392/0.3497, allocations: 0.9057 MB / 1.312 GB, free: 8.566 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.3506, allocations: 203.7 kB / 1.313 GB, free: 8.367 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3506, allocations: 0 / 1.313 GB, free: 8.367 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.351, allocations: 108 kB / 1.313 GB, free: 8.262 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.3513, allocations: 15.73 kB / 1.313 GB, free: 8.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.356, allocations: 2.127 MB / 1.315 GB, free: 6.031 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3563, allocations: 0.6885 MB / 1.315 GB, free: 5.316 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.3564, allocations: 24.64 kB / 1.315 GB, free: 5.293 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.3565, allocations: 23.7 kB / 1.315 GB, free: 5.27 MB / 1.014 GB Notification: Performance of SimCode: time 7.12e-07/0.3565, allocations: 0 / 1.315 GB, free: 5.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.3808, allocations: 2.768 MB / 1.318 GB, free: 2.641 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/8.693, allocations: 9.484 kB / 1.318 GB, free: 2.633 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.326693577226251]