Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009356/0.0009356, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001018/0.001018, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9657/0.9657, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.385e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001612/0.001626, allocations: 1.495 MB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008262/0.002452, allocations: 0.7901 MB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.8e-05/0.00247, allocations: 0 / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.002486, allocations: 3.938 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.675e-05/0.002513, allocations: 7.938 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.002803, allocations: 127.1 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.434e-05/0.002848, allocations: 35.92 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.002895, allocations: 11.97 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.086e-05/0.002926, allocations: 15.98 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.002959, allocations: 12.61 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.002968, allocations: 5.062 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.003205, allocations: 255.4 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.003217, allocations: 11.92 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.241e-05/0.003229, allocations: 1.562 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.003422, allocations: 203.5 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003423, allocations: 0 / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003424, allocations: 0 / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.003427, allocations: 5.75 kB / 0.79 GB, free: 9.527 MB / 0.7448 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.0002813/0.003708, allocations: 400.2 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.41e-05/0.003732, allocations: 8.031 kB / 0.7904 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.00394, allocations: 51.31 kB / 0.7904 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.584e-05/0.003996, allocations: 112.6 kB / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.004005, allocations: 1 kB / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.004012, allocations: 384 / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.004132, allocations: 80.56 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-06/0.004136, allocations: 192 / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.004142, allocations: 6.062 kB / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.004147, allocations: 3.938 kB / 0.7906 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.909e-05/0.004186, allocations: 11.98 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.004425, allocations: 280.4 kB / 0.7909 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.004507, allocations: 57.81 kB / 0.791 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.00453, allocations: 11.75 kB / 0.791 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.004538, allocations: 4 kB / 0.791 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.004554, allocations: 37.33 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.004555, allocations: 2.219 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.00012/0.004675, allocations: 53.62 kB / 0.7911 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.004695, allocations: 51.41 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.353e-05/0.004749, allocations: 165.9 kB / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.004758, allocations: 26.2 kB / 0.7913 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.004791, allocations: 126.9 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.004805, allocations: 12.61 kB / 0.7914 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.004832, allocations: 23.89 kB / 0.7915 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.004929, allocations: 496.1 kB / 0.7919 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.00495, allocations: 9.656 kB / 0.7919 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.004966, allocations: 4 kB / 0.7919 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.257e-05/0.004999, allocations: 16.2 kB / 0.792 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.005, allocations: 0 / 0.792 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.353e-05/0.005063, allocations: 50.91 kB / 0.792 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.005073, allocations: 11.94 kB / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.005076, allocations: 1.156 kB / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.822e-06/0.005083, allocations: 3.984 kB / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.005144, allocations: 13.36 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.005146, allocations: 0 / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.005175, allocations: 8 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.005181, allocations: 4.891 kB / 0.792 GB, free: 7.238 MB / 0.7448 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 4.976e-05/0.005231, allocations: 156.6 kB / 0.7922 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.005247, allocations: 8.781 kB / 0.7922 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.005268, allocations: 7.312 kB / 0.7922 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.00527, allocations: 5.266 kB / 0.7922 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.005272, allocations: 0 / 0.7922 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005274, allocations: 3.938 kB / 0.7922 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.427e-05/0.005358, allocations: 121.2 kB / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005359, allocations: 0 / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.005395, allocations: 12.8 kB / 0.7923 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.005396, allocations: 5.562 kB / 0.7924 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.005404, allocations: 7.922 kB / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005404, allocations: 0 / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005405, allocations: 4 kB / 0.7924 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.758e-05/0.005503, allocations: 189.1 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.005508, allocations: 7.953 kB / 0.7926 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.005519, allocations: 11.38 kB / 0.7926 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.005589, allocations: 7.984 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.00562, allocations: 4 kB / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.005624, allocations: 0 / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.005664, allocations: 131.2 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.005664, allocations: 0 / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001404/0.005805, allocations: 15.94 kB / 0.7927 GB, free: 6.496 MB / 0.7448 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 8.177e-05/0.005886, allocations: 99.75 kB / 0.7928 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.854e-05/0.005965, allocations: 32.95 kB / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.01e-07/0.005966, allocations: 0 / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.005991, allocations: 20.39 kB / 0.7929 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.00613, allocations: 4.656 kB / 0.7929 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.006366, allocations: 133.1 kB / 0.793 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.838e-05/0.006395, allocations: 59.34 kB / 0.7931 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.00643, allocations: 8.531 kB / 0.7931 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.006455, allocations: 9.625 kB / 0.7931 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.006455, allocations: 4 kB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.001904/0.008359, allocations: 0.9622 MB / 0.794 GB, free: 5.133 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.631464826408774]