Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.00205/0.00205, allocations: 108 kB / 16.45 MB, free: 6.508 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.002514/0.002514, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.851/2.851, allocations: 476.7 MB / 0.7672 GB, free: 5.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.002259/0.002259, allocations: 63.89 kB / 1.112 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8851/0.8873, allocations: 169.9 MB / 1.278 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002816/0.8901, allocations: 1.465 MB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.8915, allocations: 0.8389 MB / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.8915, allocations: 0 / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.8916, allocations: 0 / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.488e-05/0.8916, allocations: 11.92 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.892, allocations: 134.9 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.8921, allocations: 27.98 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.8922, allocations: 7.984 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.8922, allocations: 15.94 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.8923, allocations: 23.91 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.8923, allocations: 4 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.8928, allocations: 319.3 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.8928, allocations: 7.938 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.8928, allocations: 15.92 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.8932, allocations: 193.3 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.8932, allocations: 3.938 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8932, allocations: 4 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8932, allocations: 0 / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005771/0.8938, allocations: 375.1 kB / 1.282 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.8938, allocations: 8.031 kB / 1.282 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.8938, allocations: 34.73 kB / 1.282 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004721/0.8943, allocations: 64.86 kB / 1.282 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.8945, allocations: 172.3 kB / 1.282 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.8945, allocations: 384 / 1.282 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.8945, allocations: 8.375 kB / 1.282 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.8948, allocations: 89.69 kB / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8948, allocations: 0 / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.8948, allocations: 0 / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8948, allocations: 0 / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.8953, allocations: 91.91 kB / 1.282 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.8959, allocations: 296.8 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.8963, allocations: 94.5 kB / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.8965, allocations: 64.8 kB / 1.282 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.8965, allocations: 3.984 kB / 1.282 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.8966, allocations: 30.56 kB / 1.283 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8966, allocations: 0 / 1.283 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0008125/0.8974, allocations: 169.6 kB / 1.283 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.8974, allocations: 51.41 kB / 1.283 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.8975, allocations: 105.8 kB / 1.283 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.8975, allocations: 25.7 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.8976, allocations: 80.14 kB / 1.283 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.8976, allocations: 7.953 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.8976, allocations: 17.7 kB / 1.283 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8978, allocations: 322.7 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.898, allocations: 47.92 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.8982, allocations: 47.95 kB / 1.283 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.8986, allocations: 92.83 kB / 1.283 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8987, allocations: 3.938 kB / 1.283 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005021/0.8992, allocations: 121.5 kB / 1.284 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.8992, allocations: 10.03 kB / 1.284 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8992, allocations: 0 / 1.284 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.8992, allocations: 0 / 1.284 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.8994, allocations: 20.22 kB / 1.284 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.8994, allocations: 4.031 kB / 1.284 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.8995, allocations: 23.97 kB / 1.284 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.8995, allocations: 3.938 kB / 1.284 GB, free: 7.688 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.215e-05/0.8996, allocations: 117.8 kB / 1.284 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.8996, allocations: 0 / 1.284 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.8997, allocations: 3.125 kB / 1.284 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8997, allocations: 4 kB / 1.284 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8997, allocations: 4 kB / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8997, allocations: 0 / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.8999, allocations: 173.6 kB / 1.284 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8999, allocations: 0 / 1.284 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.9, allocations: 19.97 kB / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.9, allocations: 0 / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.9, allocations: 4 kB / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9, allocations: 0 / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9, allocations: 4 kB / 1.284 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.9006, allocations: 223.3 kB / 1.284 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.9006, allocations: 77.11 kB / 1.284 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.9006, allocations: 0 / 1.284 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.9008, allocations: 23.91 kB / 1.284 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.9009, allocations: 4 kB / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.9009, allocations: 8.031 kB / 1.284 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.9009, allocations: 83.27 kB / 1.284 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9009, allocations: 0 / 1.284 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002498/0.9012, allocations: 11.94 kB / 1.284 GB, free: 6.844 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0009091/0.9021, allocations: 0.7596 MB / 1.285 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004968/0.9026, allocations: 99.86 kB / 1.285 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9026, allocations: 4.062 kB / 1.285 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.9028, allocations: 47.95 kB / 1.285 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.9032, allocations: 11.92 kB / 1.285 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.9039, allocations: 198.9 kB / 1.285 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.9043, allocations: 0.6806 MB / 1.286 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.722e-05/0.9043, allocations: 12 kB / 1.286 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.9044, allocations: 11.44 kB / 1.286 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.9044, allocations: 0 / 1.286 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.9282, allocations: 1.703 MB / 1.288 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.833, allocations: 15.75 kB / 1.288 GB, free: 3.309 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.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_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 15.241752336965874]