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.0008227/0.0008227, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007804/0.0007804, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8692/0.8692, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.726/1.726, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: 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 1.743e-06/1.743e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.747e-05, allocations: 10.22 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001878/0.001905, allocations: 1.46 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.002799, allocations: 0.7561 MB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.002831, allocations: 0 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.002857, allocations: 7.938 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.002894, allocations: 4 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.00328, allocations: 127.4 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.407e-05/0.003345, allocations: 39.91 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.003425, allocations: 7.938 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.071e-05/0.003476, allocations: 19.98 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.003523, allocations: 19.91 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.003539, allocations: 4 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.003809, allocations: 251.5 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.003823, allocations: 4 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.003842, allocations: 7.984 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.004091, allocations: 215.4 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004093, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.32e-07/0.004094, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.004098, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 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.0003485/0.004446, allocations: 301.9 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.004479, allocations: 8.75 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.00473, allocations: 68.84 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/0.004802, allocations: 117.7 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.004821, allocations: 384 / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.004832, allocations: 384 / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.005009, allocations: 86.17 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.00502, allocations: 4.188 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.005031, allocations: 4.375 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.005036, allocations: 7.875 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.005245, allocations: 91.89 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.005666, allocations: 232.6 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.005863, allocations: 90.5 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.00597, allocations: 52.88 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.005983, allocations: 0 / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.006006, allocations: 42.44 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.006007, allocations: 0 / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0003974/0.006404, allocations: 165.6 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.006433, allocations: 51.41 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.006492, allocations: 105.8 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.006503, allocations: 25.7 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.006539, allocations: 88.08 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.006559, allocations: 7.953 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.006587, allocations: 9.719 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.006668, allocations: 322.8 kB / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.006769, allocations: 44.23 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.006862, allocations: 43.95 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.007055, allocations: 100.8 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007056, allocations: 4 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002223/0.007279, allocations: 129.5 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.007291, allocations: 7.938 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007296, allocations: 0 / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.007306, allocations: 3.938 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.007395, allocations: 23.97 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.0074, allocations: 0 / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.007449, allocations: 16.02 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.007457, allocations: 7.984 kB / 1.006 GB, free: 7.676 MB / 0.9636 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.257e-05/0.00751, allocations: 105.8 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.007525, allocations: 7.938 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.007552, allocations: 7.312 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007554, allocations: 3.938 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007557, allocations: 0 / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.00756, allocations: 0 / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.783e-05/0.007657, allocations: 113.3 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007658, allocations: 4 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.007716, allocations: 23.97 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007718, allocations: 0 / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.007726, allocations: 3.938 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.007726, allocations: 0 / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007728, allocations: 0 / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.007989, allocations: 215.5 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.007997, allocations: 7.953 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.00801, allocations: 3.938 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.008075, allocations: 24 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.008111, allocations: 3.984 kB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.008116, allocations: 0 / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.936e-05/0.008145, allocations: 83.28 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.008145, allocations: 3.938 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001707/0.008316, allocations: 15.94 kB / 1.007 GB, free: 7 MB / 0.9636 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.0001373/0.008453, allocations: 107.2 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.008702, allocations: 95.91 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.008704, allocations: 4 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.008806, allocations: 47.94 kB / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.009049, allocations: 12.12 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.009412, allocations: 186.6 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.333e-05/0.009455, allocations: 71.2 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.009492, allocations: 16.5 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of SimCode: time 4e-07/0.009492, allocations: 4 kB / 1.007 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of Templates: time 0.001688/0.01118, allocations: 0.8984 MB / 1.008 GB, free: 5.516 MB / 0.9636 GB " [Timeout remaining time 300] 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/jenkins/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: 6.5085784597322345]