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.0008531/0.0008531, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.0009355/0.0009355, allocations: 169.4 kB / 24.06 MB, free: 456 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.9454/0.9454, allocations: 177.1 MB / 204.5 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] 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 2.079/2.079, allocations: 429.5 MB / 0.6743 GB, free: 3.934 MB / 0.6355 GB " [Timeout remaining time 177] 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.203e-06/1.203e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.741e-05, allocations: 3.078 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002129/0.002146, allocations: 1.505 MB / 0.8809 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.003183, allocations: 0.7755 MB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.003213, allocations: 0 / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.003238, allocations: 3.984 kB / 0.8816 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.003285, allocations: 3.938 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.003665, allocations: 130.3 kB / 0.8818 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.00373, allocations: 39.8 kB / 0.8818 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.591e-05/0.003796, allocations: 0.7188 kB / 0.8818 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.003848, allocations: 23.97 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.003895, allocations: 21.62 kB / 0.8818 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.003907, allocations: 4 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.004237, allocations: 243.5 kB / 0.8821 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.004251, allocations: 4 kB / 0.8821 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.004271, allocations: 15.92 kB / 0.8821 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.004536, allocations: 204.8 kB / 0.8823 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004538, allocations: 0 / 0.8823 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004538, allocations: 0 / 0.8823 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.004541, allocations: 4 kB / 0.8823 GB, free: 3.078 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.0003571/0.004898, allocations: 404.2 kB / 0.8827 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.00493, allocations: 8.031 kB / 0.8827 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.005192, allocations: 48.83 kB / 0.8827 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.005268, allocations: 112.6 kB / 0.8828 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.00528, allocations: 384 / 0.8828 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.005291, allocations: 4.375 kB / 0.8828 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.005447, allocations: 78.84 kB / 0.8829 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005454, allocations: 4.172 kB / 0.8829 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.005462, allocations: 384 / 0.8829 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.005469, allocations: 7.938 kB / 0.8829 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.777e-05/0.005506, allocations: 4 kB / 0.8829 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.005801, allocations: 256.4 kB / 0.8832 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.005904, allocations: 54.97 kB / 0.8832 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.00593, allocations: 15.73 kB / 0.8832 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.00594, allocations: 0 / 0.8832 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.005961, allocations: 37.39 kB / 0.8833 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.005962, allocations: 8 kB / 0.8833 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001549/0.006117, allocations: 49.58 kB / 0.8833 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.006148, allocations: 55.34 kB / 0.8834 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.379e-05/0.006221, allocations: 161.9 kB / 0.8835 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.006233, allocations: 25.7 kB / 0.8836 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.006275, allocations: 138.8 kB / 0.8837 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.006293, allocations: 11.83 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.006331, allocations: 19.38 kB / 0.8837 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.006444, allocations: 496.1 kB / 0.8842 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.006467, allocations: 4.109 kB / 0.8842 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.006486, allocations: 8 kB / 0.8842 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.006526, allocations: 15.69 kB / 0.8842 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006527, allocations: 0 / 0.8842 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.384e-05/0.006611, allocations: 45.69 kB / 0.8843 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.006621, allocations: 4 kB / 0.8843 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006625, allocations: 3.938 kB / 0.8843 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.006633, allocations: 0 / 0.8843 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.006715, allocations: 24.02 kB / 0.8843 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-06/0.006717, allocations: 0 / 0.8843 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.006763, allocations: 7.984 kB / 0.8843 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.006769, allocations: 4 kB / 0.8843 GB, free: 0.8047 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 6.101e-05/0.00683, allocations: 152.6 kB / 0.8845 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.006854, allocations: 4 kB / 0.8845 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.006879, allocations: 11.25 kB / 0.8845 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006881, allocations: 0 / 0.8845 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.006882, allocations: 0 / 0.8845 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006885, allocations: 7.984 kB / 0.8845 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.007003, allocations: 105.2 kB / 0.8846 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-07/0.007004, allocations: 0 / 0.8846 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.007062, allocations: 15.97 kB / 0.8846 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.007063, allocations: 0 / 0.8846 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.00707, allocations: 4 kB / 0.8846 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007071, allocations: 0 / 0.8846 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.007074, allocations: 3.938 kB / 0.8846 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.007196, allocations: 191.9 kB / 0.8848 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.007203, allocations: 12.03 kB / 0.8848 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.007214, allocations: 0 / 0.8848 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.007287, allocations: 11.92 kB / 0.8848 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.007316, allocations: 7.938 kB / 0.8848 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.00732, allocations: 0 / 0.8848 GB, free: 236 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.007357, allocations: 131.4 kB / 0.8849 GB, free: 104 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007357, allocations: 0 / 0.8849 GB, free: 104 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002267/0.007583, allocations: 19.94 kB / 0.885 GB, free: 84 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.0003503/0.007934, allocations: 107.2 kB / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.718e-05/0.008021, allocations: 19.69 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.008022, allocations: 0 / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.008054, allocations: 23.61 kB / 0.8851 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.008271, allocations: 4 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.008536, allocations: 134.4 kB / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.008568, allocations: 55.34 kB / 0.8853 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.922e-05/0.008617, allocations: 8 kB / 0.8853 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.00868, allocations: 70.2 kB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.008681, allocations: 0 / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.002576/0.01126, allocations: 1.013 MB / 0.8864 GB, free: 14.6 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.346595696173608]