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.01515/0.01515, allocations: 103.2 kB / 15.73 MB, free: 6.012 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.002825/0.002825, allocations: 192.7 kB / 16.67 MB, free: 5.938 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.387/2.387, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.89 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.103, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.004045/1.107, allocations: 1.427 MB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001543/1.109, allocations: 0.8042 MB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/1.109, allocations: 1.188 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/1.109, allocations: 0 / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/1.109, allocations: 5.734 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/1.109, allocations: 133.1 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.871e-05/1.11, allocations: 31.81 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/1.11, allocations: 11.66 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/1.11, allocations: 14 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/1.11, allocations: 25.94 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/1.11, allocations: 2.344 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/1.11, allocations: 316.4 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/1.11, allocations: 8.031 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/1.111, allocations: 16.61 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/1.111, allocations: 193.3 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.111, allocations: 1 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.485e-06/1.111, allocations: 0 / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.111, allocations: 0 / 1.091 GB, free: 3.703 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.0005928/1.112, allocations: 372 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/1.112, allocations: 10.8 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/1.112, allocations: 70.11 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/1.112, allocations: 163.9 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/1.112, allocations: 5.312 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/1.112, allocations: 1.406 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/1.113, allocations: 89.55 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.113, allocations: 0.5625 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/1.113, allocations: 0.7812 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.113, allocations: 0.7812 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/1.113, allocations: 89.02 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/1.114, allocations: 305.2 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/1.114, allocations: 100.5 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/1.114, allocations: 52.02 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/1.114, allocations: 0.9062 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/1.114, allocations: 35.56 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.575e-06/1.114, allocations: 0 / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0007218/1.115, allocations: 168.2 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/1.115, allocations: 53.34 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/1.115, allocations: 106.6 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/1.115, allocations: 25.7 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/1.115, allocations: 85.91 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/1.115, allocations: 5.672 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/1.115, allocations: 14.75 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.983e-05/1.115, allocations: 329.3 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/1.116, allocations: 40.95 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/1.116, allocations: 48.22 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/1.116, allocations: 91.88 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.116, allocations: 1.453 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004402/1.117, allocations: 122.4 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.117, allocations: 6.25 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/1.117, allocations: 0 / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.117, allocations: 0.75 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/1.117, allocations: 24.8 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/1.117, allocations: 4.594 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/1.117, allocations: 16.97 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/1.117, allocations: 1.734 kB / 1.093 GB, free: 1.891 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 6.843e-05/1.117, allocations: 112.3 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/1.117, allocations: 5.219 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/1.117, allocations: 13.39 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.117, allocations: 0.7969 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.117, allocations: 0.75 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/1.117, allocations: 0 / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/1.117, allocations: 176.8 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.117, allocations: 0 / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/1.118, allocations: 21.03 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.118, allocations: 1.719 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/1.118, allocations: 4.844 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/1.118, allocations: 0.9062 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.118, allocations: 0 / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/1.118, allocations: 223.3 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/1.118, allocations: 86.08 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/1.118, allocations: 1.531 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/1.118, allocations: 21.05 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/1.118, allocations: 2.766 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/1.118, allocations: 2.203 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.194e-05/1.118, allocations: 88.23 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.118, allocations: 1.094 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002392/1.119, allocations: 14.55 kB / 1.094 GB, free: 1.207 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.0001899/1.119, allocations: 103.8 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004748/1.119, allocations: 96.62 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.119, allocations: 4.062 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/1.12, allocations: 46.23 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/1.12, allocations: 10.75 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/1.12, allocations: 170.7 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/1.121, allocations: 0.6767 MB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.305e-05/1.121, allocations: 11.81 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/1.121, allocations: 10.92 kB / 1.095 GB, free: 256 kB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/1.121, allocations: 0 / 1.095 GB, free: 256 kB / 0.8575 GB Notification: Performance of Templates: time 0.003874/1.125, allocations: 0.819 MB / 1.096 GB, free: 160 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches