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.0009851/0.0009852, allocations: 106.8 kB / 16.36 MB, free: 6.289 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.0009327/0.0009327, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.15 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.19/2.19, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001142, allocations: 64.28 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2566, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002214/0.2589, allocations: 1.448 MB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2599, allocations: 0.8044 MB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.2599, allocations: 0 / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.26, allocations: 3.938 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.26, allocations: 0 / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.2604, allocations: 132 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.858e-05/0.2605, allocations: 31.91 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.2606, allocations: 8 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.2606, allocations: 15.98 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.2607, allocations: 19.92 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2607, allocations: 0 / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.2611, allocations: 319.3 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2611, allocations: 3.984 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.2611, allocations: 11.94 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.2614, allocations: 199.6 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2614, allocations: 0 / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.624e-06/0.2614, allocations: 3.984 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2614, allocations: 0 / 1.022 GB, free: 6.859 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.0004639/0.2619, allocations: 379.3 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2619, allocations: 16.86 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/0.2623, allocations: 60.86 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.562e-05/0.2624, allocations: 168.4 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.2625, allocations: 384 / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.2625, allocations: 384 / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.2627, allocations: 89.94 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.892e-06/0.2628, allocations: 0 / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2628, allocations: 4 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2628, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.2631, allocations: 87.91 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.2636, allocations: 316.6 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.2639, allocations: 90.5 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.2641, allocations: 56.81 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.2642, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2642, allocations: 34.56 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2642, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0006483/0.2648, allocations: 169.6 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.2649, allocations: 51.41 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.265, allocations: 105.8 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.265, allocations: 25.7 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.265, allocations: 84.14 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.265, allocations: 3.906 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.2651, allocations: 17.7 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.2652, allocations: 314.8 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.2654, allocations: 47.98 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.2655, allocations: 43.95 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.2659, allocations: 92.77 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2659, allocations: 0 / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003876/0.2663, allocations: 129.5 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2663, allocations: 4 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2663, allocations: 4.25 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2663, allocations: 0 / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2665, allocations: 27.91 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2665, allocations: 4.031 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.2666, allocations: 19.97 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2666, allocations: 0 / 1.024 GB, free: 4.238 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 6.785e-05/0.2667, allocations: 114.4 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.2667, allocations: 0 / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.2667, allocations: 7.125 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2668, allocations: 7.984 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2668, allocations: 0 / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2668, allocations: 4 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2669, allocations: 177.5 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2669, allocations: 0 / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.2671, allocations: 19.97 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2671, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2671, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2671, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2671, allocations: 8 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.2675, allocations: 223.3 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.2675, allocations: 77.11 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2676, allocations: 0 / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2677, allocations: 19.97 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.2677, allocations: 0 / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2678, allocations: 11.95 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.2678, allocations: 83.28 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2678, allocations: 0 / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002207/0.268, allocations: 16 kB / 1.025 GB, free: 3.391 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.0001258/0.2682, allocations: 103.2 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.2686, allocations: 99.84 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2686, allocations: 0 / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.2688, allocations: 52 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.269, allocations: 7.938 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.2695, allocations: 158.3 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.2697, allocations: 0.6768 MB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.507e-05/0.2697, allocations: 15.94 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.2698, allocations: 11.44 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.2698, allocations: 0 / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of Templates: time 0.002594/0.2724, allocations: 0.8299 MB / 1.027 GB, free: 1.391 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 cvode -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