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.001757/0.001757, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002227/0.002227, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.205/3.205, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.392e-06/1.392e-06, allocations: 0 / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.596e-05, allocations: 3.156 kB / 0.8776 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002959/0.002985, allocations: 1.47 MB / 0.879 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.004487, allocations: 0.7582 MB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.004518, allocations: 1.031 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.004545, allocations: 0 / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.004602, allocations: 9 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.005127, allocations: 129.5 kB / 0.8799 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.58e-05/0.005213, allocations: 35.92 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.005291, allocations: 8.562 kB / 0.8799 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/0.005355, allocations: 23.45 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.005412, allocations: 11.98 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.005429, allocations: 4 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.005919, allocations: 247.5 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.005938, allocations: 7.984 kB / 0.8802 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.00597, allocations: 11.94 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.006351, allocations: 211.4 kB / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.006354, allocations: 0 / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006354, allocations: 0 / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.006358, allocations: 0 / 0.8804 GB, free: 3.551 MB / 0.8386 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.0005865/0.006944, allocations: 303.1 kB / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.006979, allocations: 8.031 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000538/0.007517, allocations: 77.95 kB / 0.8808 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.007638, allocations: 109.8 kB / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.007654, allocations: 384 / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.007666, allocations: 4.312 kB / 0.8809 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.008024, allocations: 87.91 kB / 0.881 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.008032, allocations: 4.188 kB / 0.881 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.008043, allocations: 384 / 0.881 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.00805, allocations: 3.938 kB / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.00852, allocations: 87.91 kB / 0.8811 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.009077, allocations: 236.6 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.0095, allocations: 98.38 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.009764, allocations: 56.88 kB / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.00978, allocations: 0 / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.009817, allocations: 38.48 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.009818, allocations: 0 / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0008284/0.01065, allocations: 169.6 kB / 0.8817 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.01071, allocations: 55.34 kB / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.01082, allocations: 105.8 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.01084, allocations: 25.7 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.0109, allocations: 84.14 kB / 0.8819 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.01092, allocations: 3.953 kB / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.01097, allocations: 21.7 kB / 0.882 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.01114, allocations: 310.8 kB / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.01137, allocations: 43.98 kB / 0.8823 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.01159, allocations: 47.95 kB / 0.8823 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.01203, allocations: 96.83 kB / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01204, allocations: 0 / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004979/0.01253, allocations: 121.6 kB / 0.8825 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.01255, allocations: 11.88 kB / 0.8826 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01256, allocations: 0 / 0.8826 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.01258, allocations: 4 kB / 0.8826 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.01276, allocations: 19.97 kB / 0.8826 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01277, allocations: 0 / 0.8826 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.0129, allocations: 24 kB / 0.8826 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.01291, allocations: 0 / 0.8826 GB, free: 1.172 MB / 0.8386 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.857e-05/0.01301, allocations: 109.8 kB / 0.8827 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.01304, allocations: 7.938 kB / 0.8827 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.01307, allocations: 3.312 kB / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.01307, allocations: 0 / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.01308, allocations: 0 / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.01308, allocations: 7.984 kB / 0.8827 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.01326, allocations: 117.2 kB / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01326, allocations: 4 kB / 0.8828 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.01341, allocations: 15.98 kB / 0.8829 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01342, allocations: 8.172 kB / 0.8829 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.01343, allocations: 3.938 kB / 0.8829 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01343, allocations: 4 kB / 0.8829 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01343, allocations: 4 kB / 0.8829 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.01402, allocations: 227.3 kB / 0.8831 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.01403, allocations: 0 / 0.8831 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.01405, allocations: 3.938 kB / 0.8831 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.0142, allocations: 20.02 kB / 0.8831 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.01424, allocations: 3.984 kB / 0.8831 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.01425, allocations: 4 kB / 0.8831 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.046e-05/0.01431, allocations: 83.28 kB / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01431, allocations: 0 / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002743/0.01458, allocations: 15.98 kB / 0.8832 GB, free: 496 kB / 0.8386 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.0001818/0.01476, allocations: 99.19 kB / 0.8833 GB, free: 388 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.01525, allocations: 107.9 kB / 0.8834 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01525, allocations: 0 / 0.8834 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.0155, allocations: 47.89 kB / 0.8835 GB, free: 232 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.01581, allocations: 6.344 kB / 0.8835 GB, free: 228 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.01644, allocations: 164.7 kB / 0.8836 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.752e-05/0.01653, allocations: 59.34 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.795e-05/0.01661, allocations: 12 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.01666, allocations: 16.48 kB / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.01666, allocations: 0 / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.003724/0.02038, allocations: 0.8996 MB / 0.8846 GB, free: 15.05 MB / 0.8542 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: 7.972545422031544]