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.001368/0.001368, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001683/0.001683, allocations: 215.7 kB / 23.03 MB, free: 4.918 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.69/1.69, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.393/3.393, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",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.003152/0.003152, allocations: 64.28 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.401, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003779/0.4048, allocations: 1.458 MB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.4067, allocations: 0.7556 MB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.4068, allocations: 0 / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.354e-05/0.4068, allocations: 7.922 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.4069, allocations: 4 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.4078, allocations: 130.5 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.4079, allocations: 35.92 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.408, allocations: 4 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.4081, allocations: 19.91 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.4082, allocations: 19.92 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4082, allocations: 4 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005253/0.4088, allocations: 255.5 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.4088, allocations: 19.91 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.4088, allocations: 11.92 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.4093, allocations: 183.8 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.4093, allocations: 4 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4093, allocations: 4 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.4093, allocations: 0 / 1.348 GB, free: 13.03 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.000676/0.41, allocations: 301.9 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.41, allocations: 8.031 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.695e-05/0.41, allocations: 4.188 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.4101, allocations: 34.69 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005622/0.4106, allocations: 68.8 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.4108, allocations: 106.5 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.4108, allocations: 4.375 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.4108, allocations: 8.375 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.4112, allocations: 81.56 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4112, allocations: 7.984 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4112, allocations: 0 / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4112, allocations: 0 / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.4117, allocations: 91.91 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.4123, allocations: 263.9 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.4127, allocations: 94.5 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.4129, allocations: 48.88 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.4129, allocations: 0 / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.413, allocations: 38.56 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 5.52e-06/0.413, allocations: 3.984 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0007994/0.4138, allocations: 169.4 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.4138, allocations: 51.41 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.4139, allocations: 101.8 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.4139, allocations: 29.64 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.414, allocations: 92.27 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.4141, allocations: 7.891 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.4141, allocations: 17.7 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4143, allocations: 318.8 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.4145, allocations: 43.95 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.4147, allocations: 43.95 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.4151, allocations: 88.83 kB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4151, allocations: 0 / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004602/0.4155, allocations: 129.5 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4156, allocations: 4 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4156, allocations: 4 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4156, allocations: 0 / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.4158, allocations: 24 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4158, allocations: 3.938 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.4159, allocations: 19.97 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4159, allocations: 0 / 1.35 GB, free: 10.57 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 0.0001009/0.416, allocations: 113.8 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.416, allocations: 7.953 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.4161, allocations: 7.312 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4161, allocations: 0 / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4161, allocations: 0 / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4161, allocations: 4 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.4163, allocations: 136.7 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4163, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.4164, allocations: 15.98 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.4164, allocations: 3.984 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.4164, allocations: 8 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4164, allocations: 4.25 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4164, allocations: 3.938 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.4169, allocations: 219.4 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.417, allocations: 4 kB / 1.351 GB, free: 9.984 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.417, allocations: 4 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.4171, allocations: 11.98 kB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.4172, allocations: 3.984 kB / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.4172, allocations: 11.97 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.4172, allocations: 79.28 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4172, allocations: 0 / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002595/0.4175, allocations: 23.92 kB / 1.351 GB, free: 9.852 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.0009189/0.4184, allocations: 0.7552 MB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.4188, allocations: 95.92 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4188, allocations: 0 / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.4191, allocations: 48.02 kB / 1.352 GB, free: 8.926 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.4194, allocations: 4 kB / 1.352 GB, free: 8.922 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.4202, allocations: 210.8 kB / 1.352 GB, free: 8.676 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.208e-05/0.4203, allocations: 55.36 kB / 1.352 GB, free: 8.602 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.364e-05/0.4203, allocations: 8 kB / 1.352 GB, free: 8.594 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.4204, allocations: 19.42 kB / 1.352 GB, free: 8.574 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.4204, allocations: 0 / 1.352 GB, free: 8.574 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.4433, allocations: 1.891 MB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.7, allocations: 20.58 kB / 1.354 GB, free: 6.82 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 19.078667685040273]