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.0009982/0.0009984, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001229, allocations: 184.3 kB / 16.92 MB, free: 6.922 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.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.62/2.62, allocations: 437.8 MB / 0.7128 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003647, allocations: 15.98 kB / 0.8735 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7391, allocations: 153.8 MB / 1.024 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001676/0.7408, allocations: 1.172 MB / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.7421, allocations: 0.7915 MB / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.7421, allocations: 0 / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.7422, allocations: 3.984 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.7422, allocations: 7.938 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.7427, allocations: 103.2 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.7427, allocations: 31.92 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.779e-05/0.7428, allocations: 4 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.382e-05/0.7429, allocations: 11.97 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.7429, allocations: 23.91 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.743, allocations: 4 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.7435, allocations: 311.4 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.7435, allocations: 7.969 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.7435, allocations: 37.64 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.7438, allocations: 135.8 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7438, allocations: 3.938 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7438, allocations: 7.938 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.7438, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.7794 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.0005259/0.7443, allocations: 373.4 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.7444, allocations: 12.03 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005141/0.7449, allocations: 80.84 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.745, allocations: 168.3 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.7451, allocations: 384 / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.7451, allocations: 384 / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.7454, allocations: 101.9 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.7454, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7455, allocations: 4 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7455, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.7459, allocations: 115.9 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.7465, allocations: 304.8 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.7469, allocations: 122.5 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.7472, allocations: 60.88 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.7472, allocations: 3.984 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.7472, allocations: 34.56 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7472, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0008076/0.748, allocations: 209.6 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.7481, allocations: 51.41 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.7482, allocations: 97.86 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.7482, allocations: 25.7 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.7483, allocations: 99.97 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.7483, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.7483, allocations: 9.719 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7484, allocations: 314.9 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.7487, allocations: 59.95 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.7489, allocations: 59.89 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/0.7494, allocations: 120.8 kB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7494, allocations: 0 / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004982/0.7499, allocations: 153.5 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.7499, allocations: 4 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.7499, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.7499, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.7501, allocations: 32 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7501, allocations: 0 / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.7503, allocations: 23.97 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.7503, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 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.701e-05/0.7504, allocations: 121.8 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.7504, allocations: 0 / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.7504, allocations: 3.125 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7504, allocations: 3.984 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.7505, allocations: 7.984 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.7505, allocations: 0 / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.7506, allocations: 173.5 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7507, allocations: 0 / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.7508, allocations: 27.97 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.7508, allocations: 4 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.7508, allocations: 0 / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7508, allocations: 3.938 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.7509, allocations: 0 / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.7514, allocations: 243.4 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.7515, allocations: 85.02 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.7515, allocations: 3.984 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.7517, allocations: 28.02 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.7517, allocations: 3.984 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.7517, allocations: 4.25 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.7518, allocations: 83.28 kB / 1.03 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.7518, allocations: 0 / 1.03 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002444/0.752, allocations: 12 kB / 1.03 GB, free: 9.59 MB / 0.7794 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.0001623/0.7522, allocations: 115.2 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005044/0.7527, allocations: 119.8 kB / 1.03 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7527, allocations: 4.062 kB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.753, allocations: 63.94 kB / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.7533, allocations: 15.88 kB / 1.03 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.7539, allocations: 202.3 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.7542, allocations: 0.6731 MB / 1.031 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.7542, allocations: 15.42 kB / 1.031 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.7542, allocations: 0 / 1.031 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of Templates: time 0.002481/0.7567, allocations: 0.877 MB / 1.032 GB, free: 7.449 MB / 0.7794 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 -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