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.001144/0.001144, allocations: 108.6 kB / 15.73 MB, free: 76 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.001269/0.001269, allocations: 190.9 kB / 16.66 MB, free: 6.59 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.563/2.563, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.56 kB / 0.9508 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3317, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002877/0.3346, allocations: 1.441 MB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3361, allocations: 0.7888 MB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.3362, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.3362, allocations: 7.922 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.3363, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.3368, allocations: 132.2 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.908e-05/0.3369, allocations: 31.91 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.337, allocations: 8 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.3371, allocations: 23.92 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.992e-05/0.3371, allocations: 15.97 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.3372, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.3377, allocations: 319.4 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.3377, allocations: 7.922 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.3377, allocations: 15.92 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.3381, allocations: 191.5 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.3381, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.537e-06/0.3381, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.3381, allocations: 3.938 kB / 1.091 GB, free: 14.48 MB / 0.8575 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.00059/0.3387, allocations: 382.9 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.3388, allocations: 12.03 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004732/0.3392, allocations: 68.78 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.3394, allocations: 168.3 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3395, allocations: 4.375 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.3395, allocations: 384 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.3398, allocations: 89.94 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3398, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3398, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3398, allocations: 4 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.3402, allocations: 87.89 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.3408, allocations: 308.8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.3412, allocations: 90.5 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.3414, allocations: 48.86 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3414, allocations: 7.984 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3415, allocations: 38.56 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3415, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0007845/0.3423, allocations: 165.5 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.3423, allocations: 51.41 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.3424, allocations: 97.86 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3424, allocations: 33.83 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.3425, allocations: 88.12 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3425, allocations: 3.953 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.3426, allocations: 13.72 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3427, allocations: 314.8 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.3429, allocations: 51.94 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.3432, allocations: 39.95 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.3436, allocations: 96.7 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.3436, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000459/0.3441, allocations: 129.5 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3441, allocations: 9.594 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3441, allocations: 3.984 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3441, allocations: 4 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.3443, allocations: 15.98 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3443, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.3444, allocations: 23.97 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3445, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 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 9.951e-05/0.3446, allocations: 109.8 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.3446, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.3446, allocations: 11.11 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3446, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3447, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3447, allocations: 3.938 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.3449, allocations: 173.5 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3449, allocations: 3.984 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.345, allocations: 23.98 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.345, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3451, allocations: 4.234 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3451, allocations: 4 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3451, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.3456, allocations: 223.3 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.3457, allocations: 89.09 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3457, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3458, allocations: 11.98 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.3459, allocations: 7.984 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.3459, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.346, allocations: 83.28 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.346, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002459/0.3462, allocations: 19.98 kB / 1.094 GB, free: 11 MB / 0.8575 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.0001994/0.3464, allocations: 107.7 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.3469, allocations: 103.8 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3469, allocations: 3.938 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.3471, allocations: 48.02 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3474, allocations: 7.938 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.348, allocations: 153.6 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.3482, allocations: 0.6807 MB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.367e-05/0.3483, allocations: 4 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.3484, allocations: 11.44 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.3484, allocations: 0 / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of Templates: time 0.003271/0.3516, allocations: 0.8328 MB / 1.096 GB, free: 9 MB / 0.8575 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