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.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.001326/0.001326, allocations: 115.1 kB / 17.08 MB, free: 5.793 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.00145/0.00145, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.414/1.414, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 489.3 MB / 0.7687 GB, free: 3.926 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002449/1.049, allocations: 1.441 MB / 1.264 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001171/1.05, allocations: 0.7972 MB / 1.265 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/1.05, allocations: 0.8125 kB / 1.265 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/1.05, allocations: 4.547 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/1.05, allocations: 8.25 kB / 1.265 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/1.051, allocations: 121.9 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.571e-05/1.051, allocations: 31.19 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/1.051, allocations: 12.97 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/1.051, allocations: 13.59 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/1.051, allocations: 24.58 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/1.051, allocations: 3.062 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/1.052, allocations: 316.8 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/1.052, allocations: 7.109 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/1.052, allocations: 13.61 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/1.052, allocations: 199.2 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.052, allocations: 0.7969 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.052, allocations: 1.062 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.052, allocations: 4 kB / 1.265 GB, free: 6.211 MB / 0.9981 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.0004707/1.053, allocations: 375.5 kB / 1.266 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/1.053, allocations: 10.23 kB / 1.266 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004882/1.053, allocations: 70.08 kB / 1.266 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.704e-05/1.053, allocations: 168.1 kB / 1.266 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/1.053, allocations: 384 / 1.266 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/1.053, allocations: 2.625 kB / 1.266 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/1.054, allocations: 89.45 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.054, allocations: 0.5625 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.054, allocations: 1.094 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/1.054, allocations: 0 / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/1.054, allocations: 97.28 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/1.055, allocations: 307.1 kB / 1.267 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/1.055, allocations: 96.77 kB / 1.267 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/1.055, allocations: 48.03 kB / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/1.055, allocations: 4 kB / 1.267 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/1.055, allocations: 33.14 kB / 1.267 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/1.055, allocations: 0 / 1.267 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000745/1.056, allocations: 171.9 kB / 1.267 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/1.056, allocations: 52.34 kB / 1.267 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/1.056, allocations: 106.5 kB / 1.267 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/1.056, allocations: 26.45 kB / 1.267 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/1.056, allocations: 86.25 kB / 1.267 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/1.056, allocations: 5.297 kB / 1.267 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/1.056, allocations: 14.44 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/1.056, allocations: 316.8 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/1.057, allocations: 50.25 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/1.057, allocations: 42.72 kB / 1.268 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/1.057, allocations: 97.52 kB / 1.268 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.057, allocations: 3.938 kB / 1.268 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004466/1.058, allocations: 119.4 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.058, allocations: 6.656 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/1.058, allocations: 1.469 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.058, allocations: 0.875 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/1.058, allocations: 20.66 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.058, allocations: 0.7812 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/1.058, allocations: 28.91 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/1.058, allocations: 0.8438 kB / 1.268 GB, free: 4.383 MB / 0.9981 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 5.128e-05/1.058, allocations: 120.1 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/1.058, allocations: 1.625 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/1.058, allocations: 9.562 kB / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.058, allocations: 0.875 kB / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.058, allocations: 0 / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/1.058, allocations: 4.812 kB / 1.268 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/1.058, allocations: 172.7 kB / 1.268 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.058, allocations: 0.7031 kB / 1.268 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/1.059, allocations: 28.98 kB / 1.268 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/1.059, allocations: 3.938 kB / 1.268 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/1.059, allocations: 2.156 kB / 1.268 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/1.059, allocations: 0 / 1.268 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.059, allocations: 0.7812 kB / 1.268 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/1.059, allocations: 219.2 kB / 1.268 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/1.059, allocations: 90.69 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/1.059, allocations: 0.6094 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/1.059, allocations: 16.89 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/1.059, allocations: 3.688 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/1.059, allocations: 1.812 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.403e-05/1.059, allocations: 84.58 kB / 1.269 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.059, allocations: 0 / 1.269 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002532/1.06, allocations: 19.28 kB / 1.269 GB, free: 3.703 MB / 0.9981 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.0001506/1.06, allocations: 106 kB / 1.269 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004854/1.06, allocations: 96.77 kB / 1.269 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.06, allocations: 0 / 1.269 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/1.06, allocations: 54.23 kB / 1.269 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/1.061, allocations: 11.66 kB / 1.269 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/1.061, allocations: 177.8 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.761e-05/1.061, allocations: 0.6766 MB / 1.27 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/1.061, allocations: 11.59 kB / 1.27 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.062, allocations: 0 / 1.27 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.00291/1.064, allocations: 0.9035 MB / 1.271 GB, free: 2.656 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 800] 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_2/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: 10.831630132859573]