Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008471/0.0008471, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008381/0.0008381, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9058/0.9058, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.746/1.746, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.735e-05, allocations: 5.375 kB / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001074/0.001092, allocations: 0.6384 MB / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.002406, allocations: 1.428 MB / 0.9526 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.002423, allocations: 0 / 0.9526 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.275e-06/0.002431, allocations: 3.938 kB / 0.9526 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/0.002467, allocations: 3.938 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.002738, allocations: 128.9 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 3.408e-05/0.002772, allocations: 31.84 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 2.203e-05/0.002794, allocations: 7.984 kB / 0.9527 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.00282, allocations: 15.98 kB / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.002859, allocations: 15.92 kB / 0.9528 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.002873, allocations: 4 kB / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.00311, allocations: 247.5 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.003121, allocations: 7.984 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.228e-05/0.003133, allocations: 11.92 kB / 0.953 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.003304, allocations: 195.5 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.003306, allocations: 0 / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003306, allocations: 0 / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.003309, allocations: 0 / 0.9532 GB, free: 0.668 MB / 0.9011 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.0002921/0.003601, allocations: 305.8 kB / 0.9535 GB, free: 348 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.432e-05/0.003626, allocations: 19.91 kB / 0.9535 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.903e-05/0.003645, allocations: 38.75 kB / 0.9536 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.003841, allocations: 56.81 kB / 0.9536 GB, free: 224 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.111e-05/0.003912, allocations: 117.8 kB / 0.9537 GB, free: 80 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.003921, allocations: 4.375 kB / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.003934, allocations: 4.375 kB / 0.9537 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.004071, allocations: 74.14 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.004076, allocations: 192 / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.004082, allocations: 4.125 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-06/0.004084, allocations: 0 / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.004251, allocations: 67.92 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.004353, allocations: 144.7 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.004612, allocations: 130.5 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.004699, allocations: 40.95 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.004709, allocations: 0 / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.004722, allocations: 34.5 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 5.11e-07/0.004723, allocations: 8 kB / 0.9542 GB, free: 15.51 MB / 0.9167 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.002321/0.007043, allocations: 0.7818 MB / 0.955 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.007067, allocations: 55.41 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.401e-05/0.007121, allocations: 109.8 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.007133, allocations: 29.7 kB / 0.9552 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.007161, allocations: 80.14 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.007187, allocations: 35.67 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.007225, allocations: 29.7 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.007294, allocations: 318.8 kB / 0.9556 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.007498, allocations: 95.89 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.007699, allocations: 95.91 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.008089, allocations: 196.9 kB / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.00809, allocations: 4 kB / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004368/0.008527, allocations: 249.3 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.008538, allocations: 4 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.008543, allocations: 4 kB / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.008549, allocations: 0 / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.008695, allocations: 51.94 kB / 0.9563 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.008698, allocations: 11.88 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.685e-05/0.008795, allocations: 35.95 kB / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.008803, allocations: 4 kB / 0.9563 GB, free: 13.28 MB / 0.9167 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 5.241e-05/0.008856, allocations: 109.8 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.008869, allocations: 11.89 kB / 0.9564 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.008897, allocations: 12.42 kB / 0.9565 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.008898, allocations: 4 kB / 0.9565 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.008901, allocations: 0 / 0.9565 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008903, allocations: 0 / 0.9565 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008365/0.00974, allocations: 0.5501 MB / 0.957 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009741, allocations: 4 kB / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.009857, allocations: 60.69 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.009861, allocations: 4 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.00987, allocations: 3.984 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.009872, allocations: 4.078 kB / 0.9571 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009873, allocations: 3.984 kB / 0.9571 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.01033, allocations: 344.9 kB / 0.9574 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.01034, allocations: 11.95 kB / 0.9574 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.01035, allocations: 4 kB / 0.9574 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.01047, allocations: 36.14 kB / 0.9575 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.0105, allocations: 11.98 kB / 0.9575 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.0105, allocations: 11.92 kB / 0.9575 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.01054, allocations: 91.22 kB / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01054, allocations: 0 / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001891/0.01073, allocations: 43.86 kB / 0.9576 GB, free: 11.88 MB / 0.9167 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.0006621/0.01139, allocations: 0.9012 MB / 0.9585 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004474/0.01184, allocations: 211.7 kB / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.61e-07/0.01184, allocations: 0 / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.01204, allocations: 104 kB / 0.9588 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.0122, allocations: 11.88 kB / 0.9588 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.01456, allocations: 2.148 MB / 0.9609 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.36e-05/0.0146, allocations: 71.34 kB / 0.961 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.007e-05/0.01466, allocations: 20.72 kB / 0.961 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.01472, allocations: 28.48 kB / 0.961 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.01472, allocations: 288 / 0.961 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.02979, allocations: 3.507 MB / 0.9644 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.058, allocations: 10.69 kB / 0.9644 GB, free: 4.887 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable y from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable xInv in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable xInv from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable dy_dt in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable dy_dt from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.255263245664537]