Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_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.001211/0.001212, allocations: 106 kB / 16.41 MB, free: 6.488 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.001242/0.001242, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.506/1.506, 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 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 60.05 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002979/1.03, allocations: 1.436 MB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001914/1.032, allocations: 0.8018 MB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/1.032, allocations: 0 / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.849e-05/1.032, allocations: 0.75 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/1.032, allocations: 8.859 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000737/1.033, allocations: 129.7 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/1.033, allocations: 27.19 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/1.034, allocations: 9.281 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.531e-05/1.034, allocations: 17.25 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/1.034, allocations: 21.31 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/1.034, allocations: 3.312 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008649/1.035, allocations: 319.3 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/1.035, allocations: 7.609 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/1.035, allocations: 12.81 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005477/1.035, allocations: 198.2 kB / 1.092 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/1.035, allocations: 0 / 1.092 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.869e-06/1.035, allocations: 1.125 kB / 1.092 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.807e-06/1.035, allocations: 0 / 1.092 GB, free: 3.715 MB / 0.8575 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.0007167/1.036, allocations: 372.2 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/1.036, allocations: 9.188 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005874/1.037, allocations: 66.53 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/1.037, allocations: 167.9 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/1.037, allocations: 1.188 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/1.037, allocations: 9.219 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/1.037, allocations: 86.38 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.037, allocations: 0 / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/1.037, allocations: 5.484 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/1.037, allocations: 0.7188 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/1.038, allocations: 88.67 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/1.039, allocations: 301.1 kB / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/1.039, allocations: 96.59 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/1.039, allocations: 52.39 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/1.039, allocations: 3.938 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/1.04, allocations: 32.84 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.04, allocations: 0 / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0009401/1.04, allocations: 168 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/1.041, allocations: 52.28 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/1.041, allocations: 107.1 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/1.041, allocations: 25.7 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/1.041, allocations: 82.25 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/1.041, allocations: 13.55 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/1.041, allocations: 15.03 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.161e-05/1.041, allocations: 316.9 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/1.041, allocations: 45.58 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/1.041, allocations: 51.19 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/1.042, allocations: 92.5 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/1.042, allocations: 0.75 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005125/1.042, allocations: 119 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.042, allocations: 5.875 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.042, allocations: 0.5156 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.042, allocations: 0.7188 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/1.043, allocations: 24.98 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/1.043, allocations: 0.875 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/1.043, allocations: 20.34 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/1.043, allocations: 5.531 kB / 1.094 GB, free: 1.906 MB / 0.8575 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.472e-05/1.043, allocations: 116.8 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/1.043, allocations: 5.562 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/1.043, allocations: 12.58 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.043, allocations: 1.578 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.043, allocations: 0 / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/1.043, allocations: 0.9375 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/1.043, allocations: 172.8 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.043, allocations: 4 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/1.043, allocations: 21.02 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.043, allocations: 0.9375 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/1.043, allocations: 13.72 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.043, allocations: 0 / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/1.043, allocations: 0.6562 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/1.044, allocations: 219.2 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/1.044, allocations: 82.61 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/1.044, allocations: 0.7812 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/1.044, allocations: 20.59 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/1.044, allocations: 11.36 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/1.044, allocations: 1.766 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.583e-05/1.044, allocations: 80.48 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.044, allocations: 0 / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002996/1.045, allocations: 19.48 kB / 1.095 GB, free: 1.215 MB / 0.8575 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.000282/1.045, allocations: 103.2 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005535/1.046, allocations: 92.97 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.046, allocations: 5.406 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/1.046, allocations: 48.14 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/1.046, allocations: 8.625 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/1.047, allocations: 189.3 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/1.047, allocations: 0.6771 MB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/1.047, allocations: 10.52 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.047, allocations: 4.719 kB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of Templates: time 0.003123/1.05, allocations: 0.8982 MB / 1.097 GB, free: 168 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches