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.008013/0.008013, allocations: 98.92 kB / 15.73 MB, free: 6.027 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.001659/0.001659, allocations: 193.2 kB / 16.67 MB, free: 5.957 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.682/2.682, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 68.11 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8633/0.8648, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003048/0.8678, allocations: 1.437 MB / 1.222 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.8691, allocations: 0.7944 MB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.8691, allocations: 0 / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.8691, allocations: 4 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.8692, allocations: 3.938 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.8696, allocations: 133.6 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.494e-05/0.8697, allocations: 39.84 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.8698, allocations: 11.94 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.8698, allocations: 15.98 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.8699, allocations: 19.92 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.8699, allocations: 3.984 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.8703, allocations: 315.4 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.8703, allocations: 3.984 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.8704, allocations: 15.94 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.8707, allocations: 200.1 kB / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.8707, allocations: 0 / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8707, allocations: 0 / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.8707, allocations: 0 / 1.224 GB, free: 15.1 MB / 0.9512 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.0006021/0.8713, allocations: 379 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.8713, allocations: 12.03 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004931/0.8718, allocations: 68.8 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.872, allocations: 172.3 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.872, allocations: 384 / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.872, allocations: 384 / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.8723, allocations: 89.94 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8724, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.8724, allocations: 7.938 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.8724, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.8728, allocations: 91.89 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.8733, allocations: 308.7 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.8736, allocations: 94.44 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.8738, allocations: 44.88 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.8738, allocations: 4 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.8739, allocations: 42.55 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8739, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0006927/0.8746, allocations: 157.6 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.8746, allocations: 55.34 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.8747, allocations: 106 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.8747, allocations: 33.7 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.8747, allocations: 84.14 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.8748, allocations: 3.953 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.8748, allocations: 17.7 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.8749, allocations: 314.8 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.8751, allocations: 43.95 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.8753, allocations: 43.95 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.8756, allocations: 92.77 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.8756, allocations: 0 / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004122/0.8761, allocations: 133.5 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.8761, allocations: 4 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.8761, allocations: 3.938 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.8761, allocations: 0 / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.8762, allocations: 23.97 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8763, allocations: 3.984 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.8764, allocations: 24 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.8764, allocations: 0 / 1.226 GB, free: 12.47 MB / 0.9512 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.362e-05/0.8765, allocations: 113.8 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.8765, allocations: 7.953 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.8765, allocations: 7.125 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.8765, allocations: 0 / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8765, allocations: 3.938 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8765, allocations: 3.984 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.8767, allocations: 169.6 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.8767, allocations: 4 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.8768, allocations: 23.97 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8768, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.8768, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8768, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.8768, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.8773, allocations: 231.3 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.8774, allocations: 81.11 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.8774, allocations: 3.984 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.8775, allocations: 11.98 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.8776, allocations: 7.984 kB / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.8776, allocations: 0 / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.8776, allocations: 87.53 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.8776, allocations: 0 / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002382/0.8779, allocations: 19.97 kB / 1.227 GB, free: 11.61 MB / 0.9512 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.0001896/0.878, allocations: 107.2 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004548/0.8785, allocations: 95.91 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8785, allocations: 0 / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.8787, allocations: 55.94 kB / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.879, allocations: 11.92 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.8795, allocations: 161.3 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.8798, allocations: 0.6768 MB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.562e-05/0.8798, allocations: 11.95 kB / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.8799, allocations: 7.438 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.8799, allocations: 0 / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of Templates: time 0.003035/0.8829, allocations: 0.823 MB / 1.228 GB, free: 9.617 MB / 0.9512 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches