Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 64.14 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6851, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002305/0.6875, allocations: 1.431 MB / 0.951 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009703/0.6885, allocations: 0.7842 MB / 0.9517 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.6885, allocations: 1.406 kB / 0.9517 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.6886, allocations: 7.922 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.6886, allocations: 7.922 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.689, allocations: 125.3 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.788e-05/0.6891, allocations: 38.36 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.6892, allocations: 3.406 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.6892, allocations: 15.45 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.6893, allocations: 18.77 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.6893, allocations: 2.5 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.6897, allocations: 324.8 kB / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.6897, allocations: 9.203 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.6897, allocations: 10.72 kB / 0.9523 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.69, allocations: 196.1 kB / 0.9525 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.69, allocations: 5.531 kB / 0.9525 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.69, allocations: 0 / 0.9525 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.69, allocations: 0 / 0.9525 GB, free: 6.973 MB / 0.7169 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.000442/0.6905, allocations: 377.4 kB / 0.9528 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.6905, allocations: 10.12 kB / 0.9528 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.691, allocations: 70.81 kB / 0.9529 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.549e-05/0.6911, allocations: 161.8 kB / 0.9531 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.6911, allocations: 1.531 kB / 0.9531 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.6911, allocations: 1.812 kB / 0.9531 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.6914, allocations: 89.72 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.6914, allocations: 0 / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.6914, allocations: 1.531 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6914, allocations: 0 / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.6918, allocations: 99.61 kB / 0.9533 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.6923, allocations: 292.7 kB / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.6927, allocations: 92.09 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.6929, allocations: 63.77 kB / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.6929, allocations: 0 / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.6929, allocations: 31.94 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.6929, allocations: 0 / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0006933/0.6936, allocations: 173.8 kB / 0.9539 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.6936, allocations: 55.39 kB / 0.9539 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/0.6937, allocations: 100.1 kB / 0.954 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.6937, allocations: 25.7 kB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.6937, allocations: 82.78 kB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.6938, allocations: 9.016 kB / 0.9541 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.6938, allocations: 16.56 kB / 0.9542 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.233e-05/0.6939, allocations: 312.4 kB / 0.9544 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.6941, allocations: 46.3 kB / 0.9545 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.6943, allocations: 53.59 kB / 0.9545 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.6946, allocations: 96.77 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6946, allocations: 0 / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004163/0.6951, allocations: 117 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.6951, allocations: 4.906 kB / 0.9548 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.6951, allocations: 0 / 0.9548 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6951, allocations: 5.203 kB / 0.9548 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.6953, allocations: 22.03 kB / 0.9548 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6953, allocations: 4.031 kB / 0.9548 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.6954, allocations: 22.19 kB / 0.9548 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.6954, allocations: 1.156 kB / 0.9548 GB, free: 4.887 MB / 0.7169 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.243e-05/0.6955, allocations: 116.4 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.6955, allocations: 1.156 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.6955, allocations: 8.422 kB / 0.9549 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.6956, allocations: 4 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6956, allocations: 0 / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6956, allocations: 5.219 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.6957, allocations: 177.3 kB / 0.9551 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6957, allocations: 0 / 0.9551 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.6958, allocations: 25.78 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.6958, allocations: 0 / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.6959, allocations: 5.156 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6959, allocations: 3.984 kB / 0.9551 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6959, allocations: 5.25 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.6963, allocations: 218.7 kB / 0.9554 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.6964, allocations: 82.16 kB / 0.9554 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.6964, allocations: 0.9375 kB / 0.9554 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.6965, allocations: 14.33 kB / 0.9554 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.6966, allocations: 14.27 kB / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.6966, allocations: 0 / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.116e-05/0.6966, allocations: 79.47 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6966, allocations: 1.125 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002361/0.6969, allocations: 16.91 kB / 0.9555 GB, free: 4.145 MB / 0.7169 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.0001394/0.697, allocations: 103 kB / 0.9556 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004535/0.6975, allocations: 97.62 kB / 0.9557 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6975, allocations: 0 / 0.9557 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.6977, allocations: 51.94 kB / 0.9558 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.698, allocations: 13.19 kB / 0.9558 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.6985, allocations: 159 kB / 0.956 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.441e-05/0.6986, allocations: 0.681 MB / 0.9566 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.597e-05/0.6987, allocations: 15.3 kB / 0.9566 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.6988, allocations: 9.75 kB / 0.9566 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/0.6988, allocations: 0 / 0.9566 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of Templates: time 0.002674/0.7014, allocations: 0.8251 MB / 0.9574 GB, free: 2.691 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches