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.001794/0.001794, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002233/0.002233, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.628/1.628, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.18/3.18, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.002208/0.002208, allocations: 76.48 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3347, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001977/0.3366, allocations: 0.6487 MB / 1.321 GB, free: 2.652 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.3388, allocations: 1.506 MB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.3389, allocations: 0 / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.3389, allocations: 0 / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.3389, allocations: 7.938 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.3394, allocations: 126.6 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.397e-05/0.3394, allocations: 27.91 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/0.3395, allocations: 4 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.3395, allocations: 19.91 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.3396, allocations: 23.86 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3396, allocations: 4 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.3402, allocations: 319.3 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.3402, allocations: 4 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.3402, allocations: 15.86 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.3406, allocations: 191.7 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.3406, allocations: 0 / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3406, allocations: 0 / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3406, allocations: 0 / 1.324 GB, free: 412 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.0007244/0.3413, allocations: 383 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/0.3414, allocations: 15.98 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.3415, allocations: 34.69 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.3419, allocations: 60.86 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3421, allocations: 176.3 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3422, allocations: 384 / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.3422, allocations: 8.359 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.3425, allocations: 73.77 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.3425, allocations: 7.938 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3425, allocations: 4 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3425, allocations: 3.938 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.3429, allocations: 71.91 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.3432, allocations: 169.7 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.3438, allocations: 114.5 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.344, allocations: 44.95 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3441, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.3441, allocations: 42.42 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3441, allocations: 0 / 1.325 GB, free: 15.05 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.004446/0.3485, allocations: 0.7896 MB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3486, allocations: 55.34 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3487, allocations: 113.8 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3487, allocations: 25.7 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.3488, allocations: 88.14 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.3488, allocations: 35.67 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.3489, allocations: 25.7 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3491, allocations: 322.8 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.3495, allocations: 91.91 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.35, allocations: 96.64 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009308/0.3509, allocations: 196.7 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3509, allocations: 3.938 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009798/0.3519, allocations: 241.6 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3519, allocations: 8 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3519, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3519, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.3522, allocations: 59.94 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3523, allocations: 3.938 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.3525, allocations: 39.95 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.3525, allocations: 11.98 kB / 1.327 GB, free: 12.8 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.0001015/0.3526, allocations: 113.8 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.3526, allocations: 0 / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.3527, allocations: 16.38 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3527, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3527, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3527, allocations: 4 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.3545, allocations: 0.5973 MB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3545, allocations: 4 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.3548, allocations: 55.94 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3548, allocations: 4 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3548, allocations: 4 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3548, allocations: 4 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3548, allocations: 7.938 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3558, allocations: 337 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.3559, allocations: 85 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.3559, allocations: 12 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.3562, allocations: 31.95 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.3562, allocations: 11.92 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3562, allocations: 11.98 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.467e-05/0.3563, allocations: 91.66 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3563, allocations: 0 / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000312/0.3566, allocations: 43.86 kB / 1.328 GB, free: 11.27 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.001466/0.3581, allocations: 0.9014 MB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009803/0.359, allocations: 207.7 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.359, allocations: 4 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.3595, allocations: 100 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.3598, allocations: 11.94 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.3649, allocations: 2.142 MB / 1.332 GB, free: 7.789 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3652, allocations: 0.6863 MB / 1.332 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.614e-05/0.3653, allocations: 20.67 kB / 1.332 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/0.3654, allocations: 27.42 kB / 1.332 GB, free: 7.031 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3654, allocations: 0 / 1.332 GB, free: 7.031 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.3916, allocations: 2.765 MB / 1.335 GB, free: 4.371 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.861, allocations: 7.844 kB / 1.335 GB, free: 4.363 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 & 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: 15.746645516948774]