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.0007212/0.0007212, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007816/0.0007816, allocations: 166.3 kB / 22.46 MB, free: 2.098 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.9184/0.9184, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.781/1.781, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.274e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001026/0.001039, allocations: 0.6383 MB / 0.9816 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002331, allocations: 1.427 MB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.00236, allocations: 0 / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.002378, allocations: 7.938 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-05/0.002453, allocations: 11.92 kB / 0.9831 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.002799, allocations: 123.4 kB / 0.9832 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.065e-05/0.00286, allocations: 23.92 kB / 0.9832 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.002903, allocations: 7.938 kB / 0.9832 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.002954, allocations: 19.97 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.003014, allocations: 23.91 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.003029, allocations: 4 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.003291, allocations: 239.5 kB / 0.9835 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.00331, allocations: 11.98 kB / 0.9835 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.003329, allocations: 3.938 kB / 0.9835 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.00356, allocations: 203.4 kB / 0.9837 GB, free: 15.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003563, allocations: 0 / 0.9837 GB, free: 15.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003564, allocations: 0 / 0.9837 GB, free: 15.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003568, allocations: 0 / 0.9837 GB, free: 15.81 MB / 0.948 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.0004049/0.003973, allocations: 309.8 kB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.004016, allocations: 12.02 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003263/0.004342, allocations: 34.75 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.004559, allocations: 68.75 kB / 0.9841 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.00466, allocations: 105.8 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.004674, allocations: 384 / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.004695, allocations: 8.375 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.004852, allocations: 74.14 kB / 0.9843 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.004865, allocations: 4.141 kB / 0.9843 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.004875, allocations: 8.125 kB / 0.9843 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.00488, allocations: 4 kB / 0.9843 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.005058, allocations: 75.91 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.005202, allocations: 132.8 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.00548, allocations: 122.5 kB / 0.9846 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.005568, allocations: 36.94 kB / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.005584, allocations: 8 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.005606, allocations: 38.5 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.005607, allocations: 0 / 0.9847 GB, free: 14.66 MB / 0.948 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.002027/0.007634, allocations: 0.7856 MB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.007662, allocations: 55.41 kB / 0.9855 GB, free: 13.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.973e-05/0.007722, allocations: 113.8 kB / 0.9856 GB, free: 13.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.007736, allocations: 29.7 kB / 0.9856 GB, free: 13.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.007764, allocations: 88.11 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.007794, allocations: 31.75 kB / 0.9858 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.007836, allocations: 33.64 kB / 0.9858 GB, free: 13.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.007902, allocations: 318.8 kB / 0.9861 GB, free: 13.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.008109, allocations: 91.91 kB / 0.9862 GB, free: 13.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.008307, allocations: 99.89 kB / 0.9863 GB, free: 12.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.008695, allocations: 196.7 kB / 0.9865 GB, free: 12.78 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.008695, allocations: 0 / 0.9865 GB, free: 12.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004458/0.009141, allocations: 241.3 kB / 0.9867 GB, free: 12.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.009152, allocations: 8 kB / 0.9867 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.009156, allocations: 0 / 0.9867 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.009167, allocations: 0 / 0.9867 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.009319, allocations: 55.94 kB / 0.9868 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.009323, allocations: 384 / 0.9868 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.852e-05/0.009421, allocations: 39.89 kB / 0.9868 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.009431, allocations: 11.92 kB / 0.9868 GB, free: 12.42 MB / 0.948 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.755e-05/0.009489, allocations: 113.8 kB / 0.9869 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.009501, allocations: 11.83 kB / 0.9869 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.009529, allocations: 12.44 kB / 0.9869 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.009531, allocations: 3.984 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.009535, allocations: 0.75 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.009538, allocations: 4 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.01039, allocations: 0.5575 MB / 0.9875 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01039, allocations: 0 / 0.9875 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.01051, allocations: 63.94 kB / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01051, allocations: 0 / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.01052, allocations: 8 kB / 0.9876 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01053, allocations: 0 / 0.9876 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01053, allocations: 0 / 0.9876 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.01098, allocations: 340.9 kB / 0.9879 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.01099, allocations: 11.94 kB / 0.9879 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.011, allocations: 4 kB / 0.9879 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.01112, allocations: 39.95 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.01115, allocations: 7.984 kB / 0.9879 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.01116, allocations: 4 kB / 0.9879 GB, free: 11.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.01119, allocations: 95.2 kB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01119, allocations: 0 / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001943/0.01138, allocations: 39.88 kB / 0.9881 GB, free: 11.03 MB / 0.948 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.0007087/0.01209, allocations: 0.9012 MB / 0.989 GB, free: 10.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.01256, allocations: 203.8 kB / 0.9891 GB, free: 9.898 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01256, allocations: 3.938 kB / 0.9891 GB, free: 9.895 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.01277, allocations: 104 kB / 0.9892 GB, free: 9.793 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.01294, allocations: 14.88 kB / 0.9893 GB, free: 9.781 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.01566, allocations: 2.153 MB / 0.9914 GB, free: 7.535 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.462e-05/0.01571, allocations: 75.19 kB / 0.9914 GB, free: 7.441 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.01577, allocations: 16.73 kB / 0.9915 GB, free: 7.426 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.01584, allocations: 28.48 kB / 0.9915 GB, free: 7.398 MB / 0.948 GB Notification: Performance of SimCode: time 6.12e-07/0.01584, allocations: 4 kB / 0.9915 GB, free: 7.395 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.03128, allocations: 3.507 MB / 0.9949 GB, free: 4.039 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/6.917, allocations: 9.969 kB / 0.9949 GB, free: 4.035 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.141329783946276]