Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_10_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.001569/0.001575, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001821/0.001821, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 64.56 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2858, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002441/0.2883, allocations: 1.452 MB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2894, allocations: 0.7927 MB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.2895, allocations: 0 / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.2895, allocations: 0 / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.2896, allocations: 7.938 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.29, allocations: 128 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.2901, allocations: 43.89 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.2901, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.2902, allocations: 19.92 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.2903, allocations: 19.92 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2903, allocations: 4 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.2907, allocations: 319.3 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.2908, allocations: 7.984 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.2908, allocations: 15.88 kB / 1.022 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.2911, allocations: 199.6 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2911, allocations: 0 / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2911, allocations: 0 / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2911, allocations: 0 / 1.022 GB, free: 6.879 MB / 0.795 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.0005544/0.2917, allocations: 371.4 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2917, allocations: 16.92 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004546/0.2922, allocations: 68.84 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2923, allocations: 164.3 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2923, allocations: 384 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2923, allocations: 384 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.2926, allocations: 89.94 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2927, allocations: 7.984 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2927, allocations: 0 / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2927, allocations: 0 / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.2931, allocations: 95.89 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.2936, allocations: 296.7 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.294, allocations: 94.44 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.2942, allocations: 56.88 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.2942, allocations: 0 / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.2942, allocations: 34.55 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.2942, allocations: 0 / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0006701/0.2949, allocations: 165.7 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.2949, allocations: 55.34 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.295, allocations: 109.8 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.295, allocations: 25.7 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.2951, allocations: 80.14 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.2951, allocations: 7.938 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.2951, allocations: 21.7 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.2952, allocations: 314.8 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.2954, allocations: 39.95 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.2956, allocations: 48.2 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.296, allocations: 100.8 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.296, allocations: 4 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004252/0.2964, allocations: 117.5 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2965, allocations: 8 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2965, allocations: 0 / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2965, allocations: 4.031 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.2967, allocations: 19.97 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2967, allocations: 0 / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.2968, allocations: 19.97 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2968, allocations: 0 / 1.024 GB, free: 4.27 MB / 0.795 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.294e-05/0.2969, allocations: 125.7 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.2969, allocations: 0 / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.297, allocations: 3.125 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.297, allocations: 0 / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.297, allocations: 7.984 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.297, allocations: 0 / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.2971, allocations: 173.5 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2972, allocations: 0 / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.2973, allocations: 23.97 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2973, allocations: 0 / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2973, allocations: 4 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2973, allocations: 0 / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2973, allocations: 0 / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.2978, allocations: 223.3 kB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.2978, allocations: 77.11 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.2979, allocations: 3.984 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.298, allocations: 23.95 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.298, allocations: 3.984 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.2981, allocations: 0 / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.2981, allocations: 83.28 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2981, allocations: 4 kB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002417/0.2984, allocations: 12 kB / 1.025 GB, free: 3.422 MB / 0.795 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.0001488/0.2985, allocations: 115.2 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.299, allocations: 91.91 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.299, allocations: 0 / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.2992, allocations: 51.88 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.2995, allocations: 12.12 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.3, allocations: 157.6 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.3002, allocations: 0.6846 MB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.085e-05/0.3003, allocations: 4 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.3004, allocations: 11.44 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3004, allocations: 0 / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of Templates: time 0.003194/0.3036, allocations: 0.8244 MB / 1.027 GB, free: 1.422 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches