Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001355/0.001355, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001551/0.001551, allocations: 220.9 kB / 22.26 MB, free: 5.125 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.984 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.276/3.276, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_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.002076/0.002076, allocations: 65.86 kB / 1.177 GB, free: 17.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3682, allocations: 180.2 MB / 1.353 GB, free: 8.543 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00269/0.3709, allocations: 1.473 MB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3723, allocations: 0.8372 MB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.3723, allocations: 0 / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.3723, allocations: 0 / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.572e-05/0.3724, allocations: 7.938 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.3729, allocations: 131.5 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.3729, allocations: 31.92 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.373, allocations: 3.984 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.3731, allocations: 19.92 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.3731, allocations: 23.97 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3732, allocations: 4 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004912/0.3737, allocations: 311.4 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.3737, allocations: 15.91 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.3737, allocations: 11.94 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.374, allocations: 195.8 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.374, allocations: 0 / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.393e-06/0.374, allocations: 3.938 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.374, allocations: 0 / 1.356 GB, free: 5.473 MB / 1.045 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.0005481/0.3746, allocations: 309.9 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3746, allocations: 11.97 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.3747, allocations: 34.75 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.3751, allocations: 72.8 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3752, allocations: 106.5 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3752, allocations: 384 / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.3753, allocations: 384 / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.3755, allocations: 93.67 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3756, allocations: 4 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3756, allocations: 0 / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3756, allocations: 4 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.376, allocations: 91.91 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.3765, allocations: 267.9 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.3769, allocations: 94.44 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.3771, allocations: 52.88 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3771, allocations: 0 / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3772, allocations: 34.56 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3772, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0007465/0.3779, allocations: 173.6 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.378, allocations: 51.41 kB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.378, allocations: 97.84 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3781, allocations: 33.64 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.3781, allocations: 84.14 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.3781, allocations: 11.92 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3782, allocations: 21.7 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3783, allocations: 314.8 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3785, allocations: 43.89 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.3787, allocations: 51.95 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.3791, allocations: 88.83 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3791, allocations: 0 / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004404/0.3795, allocations: 121.6 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3795, allocations: 4 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3795, allocations: 0 / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3796, allocations: 4.031 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.3797, allocations: 27.91 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3797, allocations: 0 / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.3798, allocations: 15.97 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.3798, allocations: 4 kB / 1.358 GB, free: 3 MB / 1.045 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.362e-05/0.3799, allocations: 121.7 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.38, allocations: 4 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.38, allocations: 3.312 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.38, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.38, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.38, allocations: 3.938 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3802, allocations: 148.6 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3802, allocations: 0 / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3803, allocations: 27.97 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3803, allocations: 0 / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3804, allocations: 0 / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3804, allocations: 0 / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3804, allocations: 256 / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.3808, allocations: 223.3 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.3809, allocations: 4 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3809, allocations: 4 kB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.381, allocations: 20 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.381, allocations: 4 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.3811, allocations: 4 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.3811, allocations: 83.27 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3811, allocations: 0 / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002421/0.3813, allocations: 15.94 kB / 1.359 GB, free: 2.281 MB / 1.045 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.0008462/0.3822, allocations: 0.7591 MB / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.3826, allocations: 99.86 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3826, allocations: 0 / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.3828, allocations: 48.02 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3831, allocations: 11.98 kB / 1.36 GB, free: 1.336 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.3839, allocations: 195.5 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.3842, allocations: 0.6768 MB / 1.36 GB, free: 412 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.719e-05/0.3842, allocations: 8 kB / 1.36 GB, free: 404 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.3843, allocations: 11.44 kB / 1.36 GB, free: 392 kB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3843, allocations: 0 / 1.36 GB, free: 392 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.4117, allocations: 1.807 MB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.33, allocations: 8.625 kB / 1.362 GB, free: 14.7 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.23535912999978]