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.001402/0.001402, allocations: 103.5 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.001448/0.001448, allocations: 212.9 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.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.287/3.287, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.003456/0.003456, allocations: 66.11 kB / 1.172 GB, free: 17.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.384, allocations: 180.2 MB / 1.348 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002699/0.3867, allocations: 1.452 MB / 1.349 GB, free: 8.629 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3881, allocations: 0.8376 MB / 1.35 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.3881, allocations: 0 / 1.35 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.3881, allocations: 3.984 kB / 1.35 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.3882, allocations: 3.938 kB / 1.35 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.3887, allocations: 137.6 kB / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.151e-05/0.3887, allocations: 31.92 kB / 1.35 GB, free: 7.613 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.3888, allocations: 4 kB / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.3889, allocations: 23.84 kB / 1.35 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.3889, allocations: 19.97 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.389, allocations: 4 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004804/0.3894, allocations: 307.4 kB / 1.351 GB, free: 7.262 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.3895, allocations: 15.92 kB / 1.351 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.3895, allocations: 19.91 kB / 1.351 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.3898, allocations: 195.8 kB / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3898, allocations: 0 / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3898, allocations: 3.938 kB / 1.351 GB, free: 7.031 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3898, allocations: 0 / 1.351 GB, free: 7.031 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.000606/0.3904, allocations: 375 kB / 1.351 GB, free: 6.617 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3905, allocations: 11.98 kB / 1.351 GB, free: 6.605 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.3905, allocations: 30.75 kB / 1.351 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/0.391, allocations: 76.73 kB / 1.351 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3911, allocations: 172.4 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3911, allocations: 4.375 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3912, allocations: 384 / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.3915, allocations: 81.75 kB / 1.351 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3915, allocations: 0 / 1.351 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3915, allocations: 4 kB / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3915, allocations: 7.984 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.3919, allocations: 91.89 kB / 1.352 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.3925, allocations: 292.8 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.3929, allocations: 102.5 kB / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.3931, allocations: 48.88 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3931, allocations: 0 / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3931, allocations: 34.56 kB / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3931, allocations: 0 / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0007715/0.3939, allocations: 177.5 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.394, allocations: 51.41 kB / 1.352 GB, free: 5.312 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.394, allocations: 97.86 kB / 1.352 GB, free: 5.207 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.3941, allocations: 29.69 kB / 1.352 GB, free: 5.172 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.3941, allocations: 84.14 kB / 1.352 GB, free: 5.086 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3941, allocations: 7.953 kB / 1.352 GB, free: 5.078 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.3942, allocations: 17.75 kB / 1.352 GB, free: 5.055 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3943, allocations: 318.8 kB / 1.353 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.3945, allocations: 47.89 kB / 1.353 GB, free: 4.688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.3948, allocations: 47.95 kB / 1.353 GB, free: 4.641 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.3952, allocations: 88.83 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3952, allocations: 0 / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004738/0.3956, allocations: 125.5 kB / 1.353 GB, free: 4.422 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3957, allocations: 4 kB / 1.353 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3957, allocations: 4.188 kB / 1.353 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3957, allocations: 0 / 1.353 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.3959, allocations: 32 kB / 1.353 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3959, allocations: 0 / 1.353 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.396, allocations: 15.92 kB / 1.353 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.396, allocations: 4 kB / 1.353 GB, free: 4.363 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.401e-05/0.3961, allocations: 117.8 kB / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.3961, allocations: 8 kB / 1.353 GB, free: 4.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.3961, allocations: 3.125 kB / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3961, allocations: 0 / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3962, allocations: 0 / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3962, allocations: 0 / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.3964, allocations: 177.5 kB / 1.353 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3964, allocations: 0 / 1.353 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.3965, allocations: 23.97 kB / 1.353 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3965, allocations: 4 kB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3965, allocations: 0 / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3965, allocations: 0 / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3965, allocations: 0 / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.3971, allocations: 223.3 kB / 1.354 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.3971, allocations: 77.11 kB / 1.354 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3971, allocations: 4 kB / 1.354 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.3973, allocations: 20 kB / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.3973, allocations: 8 kB / 1.354 GB, free: 3.613 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3973, allocations: 0 / 1.354 GB, free: 3.613 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.3974, allocations: 83.27 kB / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3974, allocations: 0 / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002506/0.3976, allocations: 12 kB / 1.354 GB, free: 3.52 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.0009131/0.3985, allocations: 0.7707 MB / 1.355 GB, free: 2.719 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004989/0.399, allocations: 95.92 kB / 1.355 GB, free: 2.625 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.399, allocations: 0 / 1.355 GB, free: 2.625 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.3993, allocations: 47.95 kB / 1.355 GB, free: 2.578 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3996, allocations: 6.156 kB / 1.355 GB, free: 2.574 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.4003, allocations: 203.4 kB / 1.355 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.4006, allocations: 0.6729 MB / 1.356 GB, free: 1.637 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.561e-05/0.4007, allocations: 11.98 kB / 1.356 GB, free: 1.625 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.4007, allocations: 15.44 kB / 1.356 GB, free: 1.609 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.4007, allocations: 3.938 kB / 1.356 GB, free: 1.605 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.4282, allocations: 1.687 MB / 1.357 GB, free: 20 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.7, allocations: 11.92 kB / 1.357 GB, free: 8 kB / 1.045 GB " [Timeout remaining time 291] (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: 15.60549780819565]