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.001847/0.001847, 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.003014/0.003014, allocations: 214.7 kB / 22.25 MB, free: 5.246 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.781 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.144/3.144, allocations: 0.4892 GB / 0.7943 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] 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.003045/0.003045, allocations: 67.67 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3506, allocations: 176.1 MB / 1.325 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002767/0.3533, allocations: 0.6332 MB / 1.326 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.3562, allocations: 1.439 MB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.3562, allocations: 0 / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.3562, allocations: 0 / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.247e-05/0.3563, allocations: 11.92 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.357, allocations: 127.5 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.357, allocations: 23.92 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.3571, allocations: 0 / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.3572, allocations: 19.92 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.3572, allocations: 11.92 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3573, allocations: 4 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.3579, allocations: 251.5 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.3579, allocations: 7.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.358, allocations: 19.84 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.3584, allocations: 175.8 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.3584, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.516e-06/0.3584, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.3584, allocations: 0 / 1.328 GB, free: 15.58 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.0007201/0.3592, allocations: 310.9 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.3592, allocations: 12.03 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.439e-05/0.3593, allocations: 38.75 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.3597, allocations: 52.86 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.3599, allocations: 122.4 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.3599, allocations: 384 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.3599, allocations: 12.36 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.3603, allocations: 65.78 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.3603, allocations: 11.92 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3603, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3603, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.3607, allocations: 67.92 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.3609, allocations: 140.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.3614, allocations: 122.5 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.3616, allocations: 44.94 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3616, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3616, allocations: 38.44 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 3.727e-06/0.3616, allocations: 7.984 kB / 1.329 GB, free: 14.43 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.004171/0.3658, allocations: 0.7857 MB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.3659, allocations: 51.41 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.366, allocations: 121.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.366, allocations: 25.7 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.366, allocations: 84.14 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.3661, allocations: 39.66 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.3661, allocations: 21.72 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3663, allocations: 322.8 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.3667, allocations: 100.6 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.3671, allocations: 91.91 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.3679, allocations: 192.7 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3679, allocations: 7.938 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009122/0.3688, allocations: 241.4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3689, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3689, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3689, allocations: 7.938 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.3692, allocations: 56.31 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.3692, allocations: 3.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.3694, allocations: 39.95 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3695, 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.694e-05/0.3696, allocations: 118.2 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.3696, allocations: 4 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.3696, allocations: 16.36 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3696, allocations: 4 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3696, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3696, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.3713, allocations: 0.5497 MB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3713, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.3716, allocations: 55.94 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3716, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3716, allocations: 3.984 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3716, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3716, allocations: 3.938 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3726, allocations: 348.9 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.3726, allocations: 7.953 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.3727, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.3729, allocations: 35.95 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.373, allocations: 15.92 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.373, allocations: 7.984 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.373, allocations: 91.28 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.373, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003022/0.3733, allocations: 39.86 kB / 1.332 GB, free: 10.8 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.00144/0.3748, allocations: 0.8994 MB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009621/0.3757, allocations: 207.9 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3757, allocations: 0 / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.3762, allocations: 108.1 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3765, allocations: 13.75 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.00497/0.3814, 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.643e-05/0.3815, allocations: 75.33 kB / 1.335 GB, free: 7.234 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.3816, allocations: 16.67 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.509e-05/0.3817, allocations: 23.42 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of SimCode: time 9.22e-07/0.3817, allocations: 0 / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.4134, allocations: 3.374 MB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.02, allocations: 22.05 kB / 1.339 GB, free: 3.938 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.836075908038765]