Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_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.001733/0.001734, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001986/0.001986, allocations: 199.1 kB / 16.26 MB, free: 6.625 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.584/1.584, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.921/2.921, allocations: 469.8 MB / 0.742 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001927, allocations: 77.59 kB / 0.908 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3386, allocations: 159.2 MB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003231/0.3418, allocations: 1.5 MB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3433, allocations: 0.7868 MB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.3433, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.3434, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.3434, allocations: 7.922 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.344, allocations: 111.7 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.108e-05/0.344, allocations: 35.92 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.3441, allocations: 3.984 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.3442, allocations: 15.98 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.3443, allocations: 23.92 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.3443, allocations: 0 / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.3448, allocations: 323.3 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.3448, allocations: 4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.3449, allocations: 15.92 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.3452, allocations: 191.6 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.3452, allocations: 0 / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3453, allocations: 0 / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3453, allocations: 0 / 1.066 GB, free: 11.56 MB / 0.8262 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.0006932/0.346, allocations: 379.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.346, allocations: 15.97 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004967/0.3465, allocations: 60.86 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.3467, allocations: 168.4 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.3467, allocations: 4.375 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.3468, allocations: 4.359 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.3471, allocations: 93.88 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3471, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3471, allocations: 7.938 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3471, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.3476, allocations: 91.91 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.3482, allocations: 304.7 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.3486, allocations: 90.5 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.3489, allocations: 52.88 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3489, allocations: 3.938 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3489, allocations: 30.56 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.3489, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0007719/0.3497, allocations: 165.5 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3498, allocations: 51.41 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.3499, allocations: 101.8 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3499, allocations: 29.83 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.35, allocations: 84.14 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.35, allocations: 7.891 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.35, allocations: 21.7 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3502, allocations: 310.8 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.3504, allocations: 47.95 kB / 1.068 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.3506, allocations: 43.89 kB / 1.068 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.351, allocations: 92.77 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.351, allocations: 4 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004575/0.3515, allocations: 121.6 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3515, allocations: 12.03 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3515, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3515, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3517, allocations: 19.97 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3517, allocations: 3.938 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.3519, allocations: 19.97 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3519, allocations: 4 kB / 1.069 GB, free: 8.938 MB / 0.8262 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 0.0001093/0.352, allocations: 121.7 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.352, allocations: 3.906 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.3521, allocations: 3.125 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3521, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3521, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3521, allocations: 4 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3523, allocations: 173.6 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3523, allocations: 0 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.3525, allocations: 23.97 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3525, allocations: 0 / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3525, allocations: 256 / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3525, allocations: 8 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3525, allocations: 0 / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.353, allocations: 223.3 kB / 1.069 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.3531, allocations: 77.11 kB / 1.069 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3531, allocations: 4.031 kB / 1.069 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3533, allocations: 19.97 kB / 1.069 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.3533, allocations: 3.938 kB / 1.069 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.3533, allocations: 3.984 kB / 1.069 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.3534, allocations: 83.28 kB / 1.069 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3534, allocations: 0 / 1.069 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002492/0.3537, allocations: 16 kB / 1.069 GB, free: 8.094 MB / 0.8262 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.0001853/0.3539, allocations: 115.2 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.3544, allocations: 91.91 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3544, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.3546, allocations: 43.95 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.3549, allocations: 20.05 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.3555, allocations: 169.3 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3558, allocations: 0.6729 MB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.936e-05/0.3559, allocations: 15.97 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.356, allocations: 11.38 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.356, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of Templates: time 0.003463/0.3594, allocations: 0.7597 MB / 1.071 GB, free: 6.148 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches