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.0007565/0.0007565, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001828, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007028/0.0007028, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009256/0.001628, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9648/0.9648, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.079/1.044, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.402/2.402, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2393/2.642, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.242e-06/1.242e-06, allocations: 0 / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.227e-05, allocations: 9.203 kB / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001752/0.001764, allocations: 1.542 MB / 0.8205 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.002611, allocations: 0.7941 MB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.002639, allocations: 0 / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.002658, allocations: 4 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.56e-05/0.002684, allocations: 7.875 kB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.002957, allocations: 127.4 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.364e-05/0.003021, allocations: 31.92 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.961e-05/0.003091, allocations: 4 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.003165, allocations: 27.98 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.003222, allocations: 23.91 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.003241, allocations: 4 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.003528, allocations: 251.5 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.003542, allocations: 4 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.003558, allocations: 8 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.003785, allocations: 175.5 kB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.003796, allocations: 0 / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003797, allocations: 0 / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.003809, allocations: 0 / 0.8219 GB, free: 15.45 MB / 0.8073 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.000391/0.0042, allocations: 284.2 kB / 0.8221 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.004242, allocations: 12.03 kB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.004516, allocations: 133.9 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.0046, allocations: 105.8 kB / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.004616, allocations: 8.375 kB / 0.8224 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.00463, allocations: 4.375 kB / 0.8224 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.004761, allocations: 70.86 kB / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.004767, allocations: 192 / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.004775, allocations: 4.359 kB / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.004782, allocations: 7.938 kB / 0.8225 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.004809, allocations: 4 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.005052, allocations: 180.2 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.862e-05/0.005131, allocations: 42.44 kB / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.005149, allocations: 8.922 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.00516, allocations: 0 / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.005186, allocations: 30.56 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.005186, allocations: 0 / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001204/0.005307, allocations: 49.62 kB / 0.8228 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.005336, allocations: 55.41 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/0.005389, allocations: 106.7 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.005399, allocations: 25.7 kB / 0.823 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.005427, allocations: 84.12 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.005445, allocations: 7.953 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.005471, allocations: 13.66 kB / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.005548, allocations: 318.8 kB / 0.8234 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.005561, allocations: 0 / 0.8234 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/0.005572, allocations: 4.125 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.005607, allocations: 20.91 kB / 0.8234 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005609, allocations: 0 / 0.8234 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.005813, allocations: 37.7 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.005824, allocations: 4 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005829, allocations: 0 / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.005841, allocations: 8.188 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.005921, allocations: 19.91 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.005925, allocations: 8.031 kB / 0.8235 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.005957, allocations: 11.98 kB / 0.8235 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005961, allocations: 0 / 0.8235 GB, free: 13.64 MB / 0.8073 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.004e-05/0.006011, allocations: 109.8 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.006026, allocations: 4 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.006048, allocations: 3.312 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.00605, allocations: 3.938 kB / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006052, allocations: 0 / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006054, allocations: 0 / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.001e-05/0.006144, allocations: 77.89 kB / 0.8237 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.006145, allocations: 0 / 0.8237 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.006187, allocations: 19.97 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.006193, allocations: 3.953 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006194, allocations: 0 / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.006198, allocations: 3.938 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.0062, allocations: 7.938 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.0062, allocations: 0 / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.81e-05/0.006279, allocations: 135.5 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.006288, allocations: 4.031 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.308e-05/0.006331, allocations: 7.984 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.006359, allocations: 11.92 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.006363, allocations: 3.984 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.173e-05/0.006375, allocations: 12.86 kB / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006375, allocations: 0 / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001266/0.006501, allocations: 15.94 kB / 0.8239 GB, free: 13.18 MB / 0.8073 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.0001049/0.006606, allocations: 92.33 kB / 0.824 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.184e-05/0.006668, allocations: 16.86 kB / 0.824 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.006672, allocations: 0 / 0.824 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.006699, allocations: 16.84 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.006845, allocations: 60.97 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.0072, allocations: 124.8 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.886e-05/0.007229, allocations: 63.22 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.007269, allocations: 11.98 kB / 0.8242 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.007324, allocations: 55.36 kB / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.007325, allocations: 0 / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of Templates: time 0.00222/0.009544, allocations: 0.9294 MB / 0.8252 GB, free: 11.75 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.07531631924212]