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.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.001313/0.001313, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001468/0.001468, allocations: 212 kB / 22.24 MB, free: 4.855 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.312/3.312, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002078/0.002078, allocations: 64.2 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3789, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001988/0.3809, allocations: 0.6321 MB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.3832, allocations: 1.443 MB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.3833, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.3833, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.3834, allocations: 3.938 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.3838, allocations: 123.5 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.148e-05/0.3839, allocations: 31.92 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.648e-05/0.3839, allocations: 7.984 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.462e-05/0.384, allocations: 11.88 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.384, allocations: 23.91 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.384, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005268/0.3846, allocations: 247.5 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.3846, allocations: 3.984 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.3846, allocations: 15.92 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.3849, allocations: 179.7 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3849, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3849, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3849, allocations: 4 kB / 1.366 GB, free: 11.31 MB / 1.061 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.0005775/0.3855, allocations: 305.8 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3856, allocations: 8.031 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.3856, allocations: 30.75 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.386, allocations: 64.81 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3861, allocations: 118.5 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3861, allocations: 8.359 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.3861, allocations: 384 / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.3864, allocations: 81.77 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3864, allocations: 3.953 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3864, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3864, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.3868, allocations: 79.84 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.387, allocations: 128.8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/0.3875, allocations: 122.5 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.3877, allocations: 40.95 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.3877, allocations: 4 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.3878, allocations: 42.42 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3878, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 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.004166/0.3919, allocations: 0.7898 MB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.392, allocations: 55.41 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3921, allocations: 109.8 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3921, allocations: 25.7 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.3921, allocations: 88.14 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.3922, allocations: 35.72 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.3923, allocations: 25.7 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3924, allocations: 318.8 kB / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.3929, allocations: 91.91 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.3933, allocations: 107.8 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000878/0.3942, allocations: 188.7 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3942, allocations: 3.938 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000902/0.3951, allocations: 241.4 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3951, allocations: 8 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3951, allocations: 0 / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3951, allocations: 0 / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.3954, allocations: 52.31 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3954, allocations: 4.312 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.3956, allocations: 35.95 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.3957, allocations: 7.984 kB / 1.369 GB, free: 7.938 MB / 1.061 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.0001038/0.3958, allocations: 125.7 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.3958, allocations: 11.95 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.3958, allocations: 8.375 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3958, allocations: 0 / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3958, allocations: 0 / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3958, allocations: 0 / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.3976, allocations: 0.5652 MB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3976, allocations: 0 / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.3979, allocations: 51.94 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3979, allocations: 3.938 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3979, allocations: 8.062 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3979, allocations: 7.938 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3979, allocations: 3.938 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/0.3989, allocations: 337 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.3989, allocations: 11.95 kB / 1.37 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.3989, allocations: 8.547 kB / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.3992, allocations: 31.97 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.3992, allocations: 15.91 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.3992, allocations: 8 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.3993, allocations: 91.27 kB / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3993, allocations: 0 / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002927/0.3996, allocations: 35.88 kB / 1.37 GB, free: 6.531 MB / 1.061 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.001566/0.4012, allocations: 0.8984 MB / 1.371 GB, free: 5.602 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009553/0.4021, allocations: 207.9 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4021, allocations: 4 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.4026, allocations: 104.1 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.4028, allocations: 21.84 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.408, allocations: 2.131 MB / 1.374 GB, free: 3.055 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.146e-05/0.408, allocations: 67.34 kB / 1.374 GB, free: 2.969 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.4081, allocations: 24.66 kB / 1.374 GB, free: 2.945 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.4083, allocations: 27.42 kB / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of SimCode: time 1.282e-06/0.4083, allocations: 0 / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.4406, allocations: 3.373 MB / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.1, allocations: 8.609 kB / 1.377 GB, free: 15.68 MB / 1.076 GB " [Timeout remaining time 288] (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/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: 18.9720213660039]