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.001546/0.001546, allocations: 107.1 kB / 15.99 MB, free: 6.352 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.001688/0.001688, allocations: 199.7 kB / 16.91 MB, free: 6.184 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.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.769/2.769, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.11 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3301, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003098/0.3333, allocations: 1.51 MB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3347, allocations: 0.7906 MB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.3347, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.3348, allocations: 4 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.982e-05/0.3349, allocations: 7.922 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.3354, allocations: 103.8 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.3354, allocations: 31.92 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.3355, allocations: 11.98 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.3356, allocations: 8 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.3357, allocations: 23.91 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3357, allocations: 4 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.3362, allocations: 319.3 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.3362, allocations: 8 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.3362, allocations: 11.92 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3365, allocations: 147.8 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3365, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3365, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3365, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8419 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.0005946/0.3371, allocations: 371.7 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3372, allocations: 8.031 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005098/0.3377, allocations: 72.84 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3378, allocations: 164.4 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.3379, allocations: 384 / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3379, allocations: 4.375 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.3382, allocations: 85.94 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3382, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3383, allocations: 3.984 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3383, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.3387, allocations: 91.84 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.3393, allocations: 300.7 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.3397, allocations: 102.5 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.34, allocations: 48.88 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.34, allocations: 7.938 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.34, allocations: 30.56 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.34, allocations: 3.938 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0007542/0.3408, allocations: 169.6 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3409, allocations: 51.41 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.341, allocations: 101.8 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.341, allocations: 29.7 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.3411, allocations: 84.14 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.3411, allocations: 7.844 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.3411, allocations: 13.72 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3413, allocations: 322.9 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.3415, allocations: 43.95 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.3417, allocations: 43.95 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.3422, allocations: 96.7 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3422, allocations: 0 / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004708/0.3426, allocations: 125.6 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3427, allocations: 4 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3427, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3427, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.3429, allocations: 28 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3429, allocations: 0 / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.343, allocations: 15.98 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.3431, allocations: 0 / 1.069 GB, free: 9.539 MB / 0.8419 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 9.449e-05/0.3432, allocations: 116 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.3432, allocations: 7.906 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.3432, allocations: 11.12 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3432, allocations: 0 / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3432, allocations: 256 / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3433, allocations: 0 / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.3435, allocations: 181.5 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3435, allocations: 0 / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.3436, allocations: 23.97 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3436, allocations: 3.984 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.3437, allocations: 4 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3437, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3437, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.3442, allocations: 219.4 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.3443, allocations: 81.11 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3443, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3444, allocations: 16 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.3445, allocations: 8 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3445, allocations: 0 / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.3446, allocations: 91.2 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3446, allocations: 3.938 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00025/0.3448, allocations: 16 kB / 1.07 GB, free: 8.68 MB / 0.8419 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.0001709/0.345, allocations: 107.2 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004868/0.3455, allocations: 99.89 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3455, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.3457, allocations: 48.02 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.346, allocations: 10.05 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.3467, allocations: 191.1 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.347, allocations: 0.6807 MB / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.3471, allocations: 15.38 kB / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3471, allocations: 0 / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.002661/0.3497, allocations: 0.8898 MB / 1.072 GB, free: 6.59 MB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches