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.001529/0.001529, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001628/0.001628, allocations: 173.9 kB / 22.46 MB, free: 5.355 MB / 14.72 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.032/3.032, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.304e-06/2.304e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/3.028e-05, allocations: 2.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002547/0.002577, allocations: 1.472 MB / 1.002 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.003916, allocations: 0.7514 MB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.003946, allocations: 4 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.003969, allocations: 3.938 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.284e-05/0.004011, allocations: 3.938 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.004469, allocations: 140.3 kB / 1.002 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.73e-05/0.004547, allocations: 27.92 kB / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.166e-05/0.004628, allocations: 7.984 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.00469, allocations: 19.98 kB / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.004745, allocations: 19.98 kB / 1.003 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.004762, allocations: 0 / 1.003 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.005187, allocations: 251.4 kB / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.005206, allocations: 7.984 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.005236, allocations: 15.92 kB / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.005583, allocations: 211.5 kB / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005586, allocations: 0 / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005587, allocations: 0 / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.005609, allocations: 0 / 1.003 GB, free: 4.344 MB / 0.9512 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.000567/0.006176, allocations: 301.8 kB / 1.003 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.006214, allocations: 16.03 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/0.006694, allocations: 64.84 kB / 1.003 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.0068, allocations: 109.8 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.006824, allocations: 384 / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.006841, allocations: 4.375 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.007173, allocations: 82.19 kB / 1.004 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.007183, allocations: 192 / 1.004 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.007194, allocations: 4.375 kB / 1.004 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.0072, allocations: 3.938 kB / 1.004 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.007662, allocations: 95.89 kB / 1.004 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.008184, allocations: 240.5 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.008607, allocations: 98.44 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.008843, allocations: 52.88 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.008864, allocations: 0 / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.008908, allocations: 38.48 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.008909, allocations: 0 / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0008197/0.009728, allocations: 165.5 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.009772, allocations: 59.53 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.009858, allocations: 101.8 kB / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.009879, allocations: 25.7 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.009934, allocations: 88.14 kB / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.009959, allocations: 11.95 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.01, allocations: 17.7 kB / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.01014, allocations: 310.8 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.01037, allocations: 47.95 kB / 1.005 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.0106, allocations: 43.95 kB / 1.005 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.01104, allocations: 88.83 kB / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01104, allocations: 0 / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005064/0.01154, allocations: 129.7 kB / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01156, allocations: 14.47 kB / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01157, allocations: 0 / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.01158, allocations: 0 / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01176, allocations: 27.97 kB / 1.005 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.01176, allocations: 0 / 1.005 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.01189, allocations: 19.97 kB / 1.005 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.0119, allocations: 4 kB / 1.005 GB, free: 1.953 MB / 0.9512 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 8.601e-05/0.01199, allocations: 109.8 kB / 1.005 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.01202, allocations: 7.938 kB / 1.005 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.01205, allocations: 3.312 kB / 1.005 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.01206, allocations: 0 / 1.005 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01206, allocations: 0 / 1.005 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01207, allocations: 3.984 kB / 1.005 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.01223, allocations: 117.2 kB / 1.005 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01223, allocations: 0 / 1.005 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.01239, allocations: 23.98 kB / 1.005 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01239, allocations: 7.922 kB / 1.005 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.0124, allocations: 3.938 kB / 1.005 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01241, allocations: 0 / 1.005 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01241, allocations: 0 / 1.005 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.01298, allocations: 219.4 kB / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.01299, allocations: 7.953 kB / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01301, allocations: 3.938 kB / 1.006 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.01317, allocations: 23.95 kB / 1.006 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.01324, allocations: 3.984 kB / 1.006 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01324, allocations: 0 / 1.006 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.213e-05/0.01329, allocations: 83.28 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01329, allocations: 0 / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002617/0.01356, allocations: 15.98 kB / 1.006 GB, free: 1.27 MB / 0.9512 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.0001914/0.01375, allocations: 111.2 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.01427, allocations: 99.83 kB / 1.006 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01427, allocations: 0 / 1.006 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.01452, allocations: 52.02 kB / 1.006 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.01484, allocations: 0 / 1.006 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.01548, allocations: 160.9 kB / 1.006 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.285e-05/0.01554, allocations: 59.34 kB / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.485e-05/0.01561, allocations: 8 kB / 1.006 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.01566, allocations: 16.5 kB / 1.006 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.01566, allocations: 0 / 1.006 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of Templates: time 0.003649/0.01931, allocations: 0.8813 MB / 1.007 GB, free: 15.84 MB / 0.9669 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: 8.073391940444708]