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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 110.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.913/2.913, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8881/0.89, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003355/0.8934, allocations: 1.444 MB / 1.27 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.8951, allocations: 0.7998 MB / 1.271 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.8951, allocations: 0 / 1.271 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.8952, allocations: 11.92 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.8952, allocations: 3.938 kB / 1.271 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.8958, allocations: 123.5 kB / 1.271 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.896, allocations: 39.86 kB / 1.271 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.8961, allocations: 4 kB / 1.271 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.453e-05/0.8961, allocations: 15.98 kB / 1.271 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.8962, allocations: 23.89 kB / 1.271 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.8962, allocations: 4 kB / 1.271 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.8968, allocations: 315.3 kB / 1.271 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.8968, allocations: 7.984 kB / 1.271 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.8968, allocations: 19.91 kB / 1.271 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.8972, allocations: 197.3 kB / 1.272 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8972, allocations: 0 / 1.272 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8972, allocations: 0 / 1.272 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.8973, allocations: 0 / 1.272 GB, free: 2.145 MB / 0.9669 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.0007802/0.898, allocations: 377.1 kB / 1.272 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.8981, allocations: 12.03 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.8981, allocations: 30.75 kB / 1.272 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004795/0.8986, allocations: 68.8 kB / 1.272 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.8988, allocations: 168.3 kB / 1.272 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.8988, allocations: 8.375 kB / 1.272 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.8988, allocations: 384 / 1.272 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.8991, allocations: 89.75 kB / 1.272 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8991, allocations: 7.875 kB / 1.272 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.8992, allocations: 0 / 1.272 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.8992, allocations: 0 / 1.272 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.8996, allocations: 95.89 kB / 1.272 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.9001, allocations: 300.8 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.9005, allocations: 102.4 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.9007, allocations: 48.88 kB / 1.273 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.9007, allocations: 4 kB / 1.273 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.9008, allocations: 34.5 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.975e-06/0.9008, allocations: 3.984 kB / 1.273 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0007578/0.9015, allocations: 165.5 kB / 1.273 GB, free: 496 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.9016, allocations: 55.53 kB / 1.273 GB, free: 428 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.9017, allocations: 101.9 kB / 1.273 GB, free: 316 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.9017, allocations: 29.69 kB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.9018, allocations: 80.14 kB / 1.273 GB, free: 196 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.9018, allocations: 7.953 kB / 1.273 GB, free: 188 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.9019, allocations: 13.72 kB / 1.273 GB, free: 168 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.9021, allocations: 318.8 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.9024, allocations: 51.95 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.9026, allocations: 43.89 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.903, allocations: 92.83 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.903, allocations: 0 / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004844/0.9034, allocations: 121.6 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.9035, allocations: 4 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.9035, allocations: 4 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.9035, allocations: 0 / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.9037, allocations: 19.97 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.9037, allocations: 0 / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.9038, allocations: 20.02 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.9038, allocations: 0 / 1.274 GB, free: 15.48 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 0.0001422/0.904, allocations: 121.7 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.904, allocations: 7.953 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.904, allocations: 3.125 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9041, allocations: 3.938 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9041, allocations: 0 / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.9041, allocations: 4 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.9044, allocations: 173.6 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.9044, allocations: 4 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.9045, allocations: 19.97 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.9045, allocations: 0 / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.9045, allocations: 256 / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.9045, allocations: 4 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9045, allocations: 4 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.9051, allocations: 223.4 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.9052, allocations: 81.11 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.9052, allocations: 0 / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.9053, allocations: 23.97 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.9054, allocations: 3.938 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.9054, allocations: 3.938 kB / 1.275 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.458e-05/0.9055, allocations: 87.3 kB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9055, allocations: 0 / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000284/0.9057, allocations: 15.94 kB / 1.275 GB, free: 14.62 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.001189/0.9069, allocations: 0.763 MB / 1.276 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005585/0.9075, allocations: 91.92 kB / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9075, allocations: 0 / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.9077, allocations: 55.95 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.9081, allocations: 4 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009636/0.9091, allocations: 198.9 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.9095, allocations: 0.6729 MB / 1.277 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.27e-05/0.9095, allocations: 15.98 kB / 1.277 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.9096, allocations: 11.44 kB / 1.277 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.9096, allocations: 0 / 1.277 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03725/0.9469, allocations: 1.697 MB / 1.278 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/9.146, allocations: 12.03 kB / 1.278 GB, free: 11.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.32491266168654]