Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001064/0.001064, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009502/0.0009502, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9657/0.9657, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.918/1.918, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.727e-05, allocations: 5.688 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00193/0.001947, allocations: 1.513 MB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009761/0.002923, allocations: 0.7867 MB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.002951, allocations: 0.5 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.002974, allocations: 1.094 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.003019, allocations: 9.781 kB / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.003391, allocations: 129.8 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.976e-05/0.003461, allocations: 33.48 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.823e-05/0.003529, allocations: 8 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.003589, allocations: 17.41 kB / 0.7625 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.003641, allocations: 25.53 kB / 0.7625 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.003653, allocations: 0 / 0.7625 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.003922, allocations: 255.4 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.003938, allocations: 8.469 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.003956, allocations: 7.984 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.004186, allocations: 205.1 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004189, allocations: 0 / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004189, allocations: 0 / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.004193, allocations: 0 / 0.7629 GB, free: 3.684 MB / 0.7136 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.0003368/0.00453, allocations: 277.7 kB / 0.7632 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.004562, allocations: 8.031 kB / 0.7632 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.004779, allocations: 51.53 kB / 0.7633 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.802e-05/0.004857, allocations: 105.8 kB / 0.7634 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.004871, allocations: 5.125 kB / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.004881, allocations: 384 / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.005014, allocations: 72.47 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.00502, allocations: 1.562 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.005029, allocations: 4.375 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.005036, allocations: 7.875 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.005065, allocations: 4 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.005305, allocations: 173.5 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.326e-05/0.005379, allocations: 36.44 kB / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.005396, allocations: 8.922 kB / 0.7637 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.005407, allocations: 2.75 kB / 0.7637 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.005427, allocations: 30.56 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.005427, allocations: 4 kB / 0.7637 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001169/0.005544, allocations: 49.56 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.005577, allocations: 55.41 kB / 0.7638 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.277e-05/0.005629, allocations: 109.6 kB / 0.7639 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.00564, allocations: 25.7 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.005666, allocations: 88.08 kB / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.005682, allocations: 7.938 kB / 0.764 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.005707, allocations: 9.719 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.005781, allocations: 318.8 kB / 0.7643 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.005794, allocations: 4 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.282e-05/0.005807, allocations: 1.5 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.703e-05/0.005834, allocations: 16.84 kB / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005835, allocations: 0 / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.888e-05/0.005884, allocations: 42.3 kB / 0.7644 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.005896, allocations: 10 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.0059, allocations: 3.984 kB / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.005912, allocations: 7.922 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.005976, allocations: 12.23 kB / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.005979, allocations: 2.438 kB / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.006011, allocations: 15.95 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006017, allocations: 3.984 kB / 0.7644 GB, free: 2.004 MB / 0.7136 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.186e-05/0.006069, allocations: 105.8 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.006083, allocations: 4 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.006104, allocations: 5.562 kB / 0.7646 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006106, allocations: 3.938 kB / 0.7646 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.006108, allocations: 0 / 0.7646 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.00611, allocations: 0 / 0.7646 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.022e-05/0.00619, allocations: 77.88 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.006191, allocations: 0 / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.006224, allocations: 16.95 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.006226, allocations: 4 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.00623, allocations: 4.875 kB / 0.7647 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006232, allocations: 3.984 kB / 0.7647 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.006232, allocations: 2.312 kB / 0.7647 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.405e-05/0.006306, allocations: 131.5 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.006311, allocations: 3.984 kB / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.00632, allocations: 0 / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.367e-05/0.006364, allocations: 14.42 kB / 0.7648 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.006388, allocations: 3.938 kB / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.006391, allocations: 0 / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.027e-05/0.006401, allocations: 16.84 kB / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006401, allocations: 0 / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001253/0.006527, allocations: 15.94 kB / 0.7648 GB, free: 1.562 MB / 0.7136 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 9.237e-05/0.006619, allocations: 85.88 kB / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.461e-05/0.006684, allocations: 28.78 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006685, allocations: 1.844 kB / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.928e-05/0.006704, allocations: 8.859 kB / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.00682, allocations: 15.86 kB / 0.765 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.007051, allocations: 126.1 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.693e-05/0.007078, allocations: 52.02 kB / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.007116, allocations: 9.625 kB / 0.7652 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.007167, allocations: 55.36 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.007167, allocations: 0.75 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of Templates: time 0.002093/0.00926, allocations: 0.9094 MB / 0.7661 GB, free: 272 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8310966938734055]