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.006202/0.006202, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001275/0.001275, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.478/2.478, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 71.41 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3718, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002725/0.3745, allocations: 1.429 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3758, allocations: 0.8005 MB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.3758, allocations: 4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.3759, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.3759, allocations: 11.91 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.3764, allocations: 127.5 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.3765, allocations: 35.92 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3766, allocations: 7.984 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.3767, allocations: 15.92 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.3768, allocations: 19.97 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3768, allocations: 4 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.3772, allocations: 311.4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.3772, allocations: 11.92 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.3773, allocations: 8 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.3776, allocations: 207.6 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3776, allocations: 4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3776, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3776, allocations: 0 / 1.091 GB, free: 14.46 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.0005669/0.3782, allocations: 371.4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3783, allocations: 8.031 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004674/0.3787, allocations: 68.84 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3789, allocations: 164.3 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.3789, allocations: 384 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3789, allocations: 8.375 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.3792, allocations: 89.88 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3792, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3792, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3793, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.3797, allocations: 91.89 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.3802, allocations: 304.8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.3806, allocations: 90.5 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.3808, allocations: 64.8 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.3808, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3808, allocations: 30.56 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3808, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0006972/0.3815, allocations: 169.6 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.3816, allocations: 55.41 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.3817, allocations: 97.86 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3817, allocations: 25.7 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.3818, allocations: 92.11 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.3818, allocations: 7.906 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.3818, allocations: 13.72 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.382, allocations: 318.9 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.3822, allocations: 43.89 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.3824, allocations: 51.94 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.3827, allocations: 92.77 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3828, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004123/0.3832, allocations: 121.6 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3832, allocations: 7.938 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3832, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3832, allocations: 3.984 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.3834, allocations: 24.02 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3834, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3835, allocations: 15.97 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3835, allocations: 7.938 kB / 1.093 GB, free: 11.84 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 8.503e-05/0.3836, allocations: 109.8 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.3836, allocations: 3.906 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.3837, allocations: 15.11 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3837, allocations: 4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3837, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3837, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3839, allocations: 169.8 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3839, allocations: 4 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.384, allocations: 19.97 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.384, allocations: 4 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3841, allocations: 3.984 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3841, allocations: 4 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3841, allocations: 3.984 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.3845, allocations: 219.4 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.3846, allocations: 77.11 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3846, allocations: 3.984 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3847, allocations: 19.92 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.3848, allocations: 8.016 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3848, allocations: 4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.3849, allocations: 83.28 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3849, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002354/0.3851, allocations: 16 kB / 1.094 GB, free: 10.99 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.0001657/0.3853, allocations: 107.7 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.3857, allocations: 99.89 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3857, allocations: 0 / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.3859, 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.0003001/0.3863, allocations: 9.5 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.0005618/0.3868, allocations: 173.3 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.3871, allocations: 0.6768 MB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.903e-05/0.3871, allocations: 12 kB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.3872, allocations: 11.44 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3872, allocations: 0 / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of Templates: time 0.003098/0.3903, allocations: 0.8281 MB / 1.096 GB, free: 8.98 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