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.001006/0.001006, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008287/0.008287, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.508/1.508, allocations: 223.3 MB / 240.3 MB, free: 5.238 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.619/2.619, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004028, allocations: 15.98 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8565/0.8569, allocations: 142.4 MB / 0.955 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001749/0.8587, allocations: 1.162 MB / 0.9562 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.86, allocations: 0.7948 MB / 0.9569 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.86, allocations: 0 / 0.9569 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.8601, allocations: 0 / 0.9569 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/0.8601, allocations: 9.422 kB / 0.957 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.8605, allocations: 101.5 kB / 0.9571 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.8606, allocations: 30.48 kB / 0.9571 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.8607, allocations: 2.812 kB / 0.9571 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.387e-05/0.8607, allocations: 14.83 kB / 0.9571 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.8608, allocations: 18.11 kB / 0.9571 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.8608, allocations: 6.219 kB / 0.9571 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.8612, allocations: 314.5 kB / 0.9574 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.8613, allocations: 9.359 kB / 0.9574 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.8613, allocations: 32.39 kB / 0.9575 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.8616, allocations: 199.4 kB / 0.9577 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8616, allocations: 0 / 0.9577 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8616, allocations: 1.781 kB / 0.9577 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.8616, allocations: 0 / 0.9577 GB, free: 5.941 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.0004652/0.8621, allocations: 375 kB / 0.958 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8621, allocations: 10.94 kB / 0.958 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.8626, allocations: 82.22 kB / 0.9581 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.327e-05/0.8627, allocations: 165.7 kB / 0.9583 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.8627, allocations: 1.75 kB / 0.9583 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.8627, allocations: 5.688 kB / 0.9583 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.8631, allocations: 100.4 kB / 0.9584 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.8631, allocations: 5.375 kB / 0.9584 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.8631, allocations: 0 / 0.9584 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8631, allocations: 7.938 kB / 0.9584 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.8636, allocations: 113.6 kB / 0.9585 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.8641, allocations: 302.9 kB / 0.9588 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.8645, allocations: 117.3 kB / 0.9589 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.8647, allocations: 65.3 kB / 0.9589 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.8647, allocations: 1.219 kB / 0.9589 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.8648, allocations: 35.66 kB / 0.959 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8648, allocations: 3.938 kB / 0.959 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0007845/0.8656, allocations: 206.3 kB / 0.9592 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.8656, allocations: 51.41 kB / 0.9592 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/0.8657, allocations: 101.1 kB / 0.9593 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.8657, allocations: 25.7 kB / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.8657, allocations: 89.47 kB / 0.9594 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.8657, allocations: 3.906 kB / 0.9594 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.8658, allocations: 11.41 kB / 0.9594 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.8658, allocations: 310.8 kB / 0.9597 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.866, allocations: 60.86 kB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.8663, allocations: 57.3 kB / 0.9599 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.8667, allocations: 122.8 kB / 0.96 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8667, allocations: 0 / 0.96 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004779/0.8672, allocations: 150.5 kB / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.8672, allocations: 5.5 kB / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.8672, allocations: 0 / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8672, allocations: 0 / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.8674, allocations: 31.25 kB / 0.9602 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8674, allocations: 3.984 kB / 0.9602 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.8676, allocations: 28.47 kB / 0.9602 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.8676, allocations: 1.375 kB / 0.9602 GB, free: 3.828 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 7.022e-05/0.8676, allocations: 115.2 kB / 0.9603 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.8677, allocations: 1.375 kB / 0.9603 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.8677, allocations: 8.5 kB / 0.9603 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.8677, allocations: 3.938 kB / 0.9603 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8677, allocations: 5.359 kB / 0.9603 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8677, allocations: 3.984 kB / 0.9603 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.8679, allocations: 169.8 kB / 0.9605 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8679, allocations: 0 / 0.9605 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.868, allocations: 31.22 kB / 0.9605 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.868, allocations: 0 / 0.9605 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.8681, allocations: 9.312 kB / 0.9605 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8681, allocations: 0 / 0.9605 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8681, allocations: 0 / 0.9605 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.8686, allocations: 245.5 kB / 0.9608 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.8686, allocations: 81.83 kB / 0.9608 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.8686, allocations: 8.984 kB / 0.9608 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.8688, allocations: 24.45 kB / 0.9609 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.8689, allocations: 4.953 kB / 0.9609 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.8689, allocations: 5.062 kB / 0.9609 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.951e-05/0.8689, allocations: 79.44 kB / 0.9609 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8689, allocations: 3.938 kB / 0.961 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002559/0.8692, allocations: 14.94 kB / 0.961 GB, free: 3.078 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.0001792/0.8694, allocations: 113.3 kB / 0.9611 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005191/0.8699, allocations: 111.2 kB / 0.9612 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8699, allocations: 0.9062 kB / 0.9612 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.8701, allocations: 67.31 kB / 0.9612 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.8705, allocations: 12 kB / 0.9613 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.8711, allocations: 174.4 kB / 0.9614 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.8712, allocations: 0.678 MB / 0.9621 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.918e-05/0.8713, allocations: 15.02 kB / 0.9621 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.8714, allocations: 13.55 kB / 0.9621 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8714, allocations: 0 / 0.9621 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.003311/0.8747, allocations: 0.7171 MB / 0.9628 GB, free: 1.68 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