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.0009747/0.0009747, allocations: 80.8 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.001375/0.001375, 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 1.086/1.086, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.983/1.983, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] 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.293e-06/1.293e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.314e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001951/0.001964, allocations: 1.554 MB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.002952, allocations: 0.7917 MB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.002979, allocations: 2.094 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.003004, allocations: 0 / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.003049, allocations: 1.547 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.003386, allocations: 131.7 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.00345, allocations: 42.91 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.579e-05/0.003516, allocations: 0 / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.003571, allocations: 15.98 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.003617, allocations: 24.94 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.00363, allocations: 4 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.003916, allocations: 263.4 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.00393, allocations: 8.531 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.003944, allocations: 5.734 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.004163, allocations: 203.5 kB / 0.763 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.004165, allocations: 0 / 0.763 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.82e-07/0.004166, allocations: 3.938 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.004169, allocations: 0 / 0.763 GB, free: 3.574 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.0003096/0.004479, allocations: 269.8 kB / 0.7633 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.004509, allocations: 8.031 kB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.004721, allocations: 59.84 kB / 0.7634 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.984e-05/0.004801, allocations: 109.8 kB / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004813, allocations: 384 / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.00482, allocations: 1.688 kB / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.004947, allocations: 75.94 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.004954, allocations: 192 / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.004961, allocations: 1.312 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.004968, allocations: 3.938 kB / 0.7635 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.005001, allocations: 8.875 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.005244, allocations: 171 kB / 0.7637 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.005318, allocations: 34.56 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.005337, allocations: 8.922 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.005348, allocations: 0 / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.005371, allocations: 41.34 kB / 0.7638 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.964e-06/0.005373, allocations: 3.984 kB / 0.7638 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.005494, allocations: 49.56 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.005522, allocations: 51.41 kB / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.578e-05/0.005578, allocations: 106.7 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.005591, allocations: 29.7 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.00562, allocations: 85.42 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.005637, allocations: 3.953 kB / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.005667, allocations: 21.69 kB / 0.7641 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.00574, allocations: 316.8 kB / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.005754, allocations: 4 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.342e-05/0.005767, allocations: 4 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.005797, allocations: 12.84 kB / 0.7644 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005798, allocations: 0.6875 kB / 0.7644 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.26e-05/0.005851, allocations: 42.23 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.005863, allocations: 8.734 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.005866, allocations: 0 / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.005879, allocations: 4.781 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.005948, allocations: 14.14 kB / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.005952, allocations: 4 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.005983, allocations: 15.94 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.005988, allocations: 0 / 0.7645 GB, free: 1.898 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 4.926e-05/0.006037, allocations: 112.3 kB / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.006053, allocations: 3.938 kB / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.006077, allocations: 7.312 kB / 0.7647 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.006081, allocations: 7.938 kB / 0.7647 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006082, allocations: 0 / 0.7647 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.006087, allocations: 3.984 kB / 0.7647 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.506e-05/0.006172, allocations: 71.98 kB / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.006173, allocations: 0 / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.006213, allocations: 19.91 kB / 0.7648 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.006214, allocations: 0 / 0.7648 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.006219, allocations: 0 / 0.7648 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.006219, allocations: 0.5938 kB / 0.7648 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.00622, allocations: 1.5 kB / 0.7648 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.646e-05/0.006306, allocations: 135.5 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.006312, allocations: 4 kB / 0.7649 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.006321, allocations: 1.125 kB / 0.7649 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.006366, allocations: 7.984 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.006394, allocations: 12.69 kB / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.006399, allocations: 3.984 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.177e-06/0.006408, allocations: 9.516 kB / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006408, allocations: 0 / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001311/0.006539, allocations: 16.69 kB / 0.7649 GB, free: 1.453 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 0.0001001/0.00664, allocations: 85.94 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.817e-05/0.006708, allocations: 24.78 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.00671, allocations: 0 / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.055e-05/0.006731, allocations: 15.33 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.006859, allocations: 15.92 kB / 0.7651 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.007099, allocations: 122.4 kB / 0.7652 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.154e-05/0.00713, allocations: 59.34 kB / 0.7652 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.157e-05/0.007172, allocations: 10.56 kB / 0.7653 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.00723, allocations: 51.38 kB / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.00723, allocations: 0 / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of Templates: time 0.002203/0.009433, allocations: 0.9084 MB / 0.7662 GB, free: 160 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 -s gbode -gbm=radauIIA3 -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: 5.06362081784755]