Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001751/0.001751, allocations: 110 kB / 18.93 MB, free: 2.945 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.002514/0.002514, allocations: 194.8 kB / 22.23 MB, free: 5.16 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.451/1.451, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.773/2.773, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.89 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7867, allocations: 160.8 MB / 1.218 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002927/0.7896, allocations: 1.455 MB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.7911, allocations: 0.8067 MB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.7912, allocations: 1.188 kB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.7912, allocations: 0 / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.7913, allocations: 11.86 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.7918, allocations: 121.8 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.7919, allocations: 39.12 kB / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.792, allocations: 6.453 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.792, allocations: 13.83 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.7921, allocations: 19.7 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.7921, allocations: 2.406 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005607/0.7927, allocations: 321.7 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.7927, allocations: 9.078 kB / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.7927, allocations: 18.08 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.7931, allocations: 195.4 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.7931, allocations: 0 / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7931, allocations: 0 / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.902e-06/0.7931, allocations: 0 / 1.221 GB, free: 1.5 MB / 0.92 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.0006491/0.7938, allocations: 376.1 kB / 1.222 GB, free: 1.105 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7938, allocations: 9.656 kB / 1.222 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005133/0.7943, allocations: 70.67 kB / 1.222 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.7945, allocations: 162.6 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.7945, allocations: 9.375 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.7945, allocations: 13.31 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.7949, allocations: 89.89 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.7949, allocations: 1.031 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.7949, allocations: 4 kB / 1.222 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7949, allocations: 4 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.7953, allocations: 91.61 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.7959, allocations: 293.4 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.7963, allocations: 99.62 kB / 1.223 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.7965, allocations: 54.39 kB / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.7966, allocations: 0.7188 kB / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.7966, allocations: 31.56 kB / 1.223 GB, free: 312 kB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.7966, allocations: 0 / 1.223 GB, free: 312 kB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0007447/0.7973, allocations: 173 kB / 1.223 GB, free: 212 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.7974, allocations: 52.72 kB / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.7975, allocations: 104 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.7975, allocations: 25.7 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.7976, allocations: 81.64 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.7976, allocations: 12.72 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.7977, allocations: 12.84 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.7978, allocations: 316 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.798, allocations: 45.52 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.7982, allocations: 49.62 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.7986, allocations: 94.17 kB / 1.224 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7986, allocations: 0 / 1.224 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004324/0.7991, allocations: 116.7 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7991, allocations: 4.594 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.7991, allocations: 1.219 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.7991, allocations: 3.938 kB / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.7993, allocations: 25.72 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.7993, allocations: 0 / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.7994, allocations: 19.5 kB / 1.224 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.7994, allocations: 0 / 1.224 GB, free: 15.4 MB / 0.9356 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.485e-05/0.7995, allocations: 120.3 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.7995, allocations: 8.984 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.7996, allocations: 12.48 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7996, allocations: 0 / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7996, allocations: 1 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.7996, allocations: 0 / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.7998, allocations: 170 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7998, allocations: 0 / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.7999, allocations: 21.44 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.7999, allocations: 0.75 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.7999, allocations: 12.64 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.7999, allocations: 1 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7999, allocations: 4 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.8004, allocations: 219.6 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.8005, allocations: 82.19 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.8005, allocations: 1.125 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.8006, allocations: 22.45 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.8007, allocations: 5.078 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.8007, allocations: 0.9062 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.005e-05/0.8007, allocations: 79.59 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8007, allocations: 0 / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002609/0.801, allocations: 18.36 kB / 1.224 GB, free: 14.66 MB / 0.9356 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.0001877/0.8012, allocations: 111.1 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.8017, allocations: 93.52 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8017, allocations: 5.094 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.8019, allocations: 51.42 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.8022, allocations: 6.156 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.8028, allocations: 161 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.8032, allocations: 0.6769 MB / 1.226 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.456e-05/0.8032, allocations: 12.41 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.8033, allocations: 9.594 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of SimCode: time 7.01e-07/0.8033, allocations: 0 / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.003773/0.807, allocations: 0.8347 MB / 1.226 GB, free: 13.2 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.824578848667443]