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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009167/0.0009168, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001269/0.001269, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004082, allocations: 12.22 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9039/0.9044, allocations: 142.4 MB / 0.9544 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001687/0.9061, allocations: 1.147 MB / 0.9556 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.9073, allocations: 0.7359 MB / 0.9563 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.9074, allocations: 4 kB / 0.9563 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.9074, allocations: 0 / 0.9563 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.9075, allocations: 8.891 kB / 0.9563 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.908, allocations: 93.94 kB / 0.9564 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.9081, allocations: 30.7 kB / 0.9564 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.33e-05/0.9082, allocations: 2.406 kB / 0.9564 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.851e-05/0.9082, allocations: 10.39 kB / 0.9564 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.9083, allocations: 22.59 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.9083, allocations: 2.031 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.9088, allocations: 301.8 kB / 0.9567 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.9088, allocations: 9.172 kB / 0.9567 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.9089, allocations: 26.77 kB / 0.9568 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.9092, allocations: 137.7 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9092, allocations: 0 / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9092, allocations: 5.281 kB / 0.9569 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.9092, allocations: 3.938 kB / 0.9569 GB, free: 5.898 MB / 0.7169 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.0004716/0.9097, allocations: 376.2 kB / 0.9573 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.9097, allocations: 8.719 kB / 0.9573 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004427/0.9102, allocations: 86.55 kB / 0.9573 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.9103, allocations: 169.2 kB / 0.9575 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.9103, allocations: 9.031 kB / 0.9575 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.9103, allocations: 1 kB / 0.9575 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.9106, allocations: 92.38 kB / 0.9576 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.9107, allocations: 0 / 0.9576 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.9107, allocations: 1.844 kB / 0.9576 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.9107, allocations: 0 / 0.9576 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.9111, allocations: 124.4 kB / 0.9577 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.9116, allocations: 299.1 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.9119, allocations: 117.2 kB / 0.9581 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.9121, allocations: 62.69 kB / 0.9582 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.9121, allocations: 0 / 0.9582 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.9122, allocations: 38.55 kB / 0.9582 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9122, allocations: 1.75 kB / 0.9582 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.00066/0.9128, allocations: 204.1 kB / 0.9584 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.9129, allocations: 52.78 kB / 0.9585 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.687e-05/0.9129, allocations: 103.3 kB / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.9129, allocations: 31.11 kB / 0.9586 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.913, allocations: 81.52 kB / 0.9587 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.913, allocations: 11.84 kB / 0.9587 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.913, allocations: 0 / 0.9587 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.9131, allocations: 316.2 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.9133, allocations: 57.08 kB / 0.959 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.9134, allocations: 59.7 kB / 0.9591 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.9136, allocations: 59.7 kB / 0.9592 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9136, allocations: 0 / 0.9592 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003892/0.914, allocations: 146.6 kB / 0.9593 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.9141, allocations: 5.5 kB / 0.9593 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.9141, allocations: 0 / 0.9593 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.9141, allocations: 7.891 kB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.9142, allocations: 27.22 kB / 0.9593 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.9143, allocations: 0 / 0.9593 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.9144, allocations: 24.52 kB / 0.9594 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.9144, allocations: 5.359 kB / 0.9594 GB, free: 3.828 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.9144, allocations: 111.2 kB / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.9145, allocations: 5.281 kB / 0.9595 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.9145, allocations: 8.5 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.9145, allocations: 3.953 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.9145, allocations: 1.375 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9145, allocations: 0 / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.9147, allocations: 177.8 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9147, allocations: 0 / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.9148, allocations: 27.22 kB / 0.9597 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.9148, allocations: 4 kB / 0.9597 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.9149, allocations: 1.375 kB / 0.9597 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9149, allocations: 0 / 0.9597 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9149, allocations: 3.953 kB / 0.9597 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.9153, allocations: 245.7 kB / 0.9599 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.9154, allocations: 78.42 kB / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.9154, allocations: 0 / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.9155, allocations: 32.75 kB / 0.96 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.9156, allocations: 4.766 kB / 0.96 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.9156, allocations: 1.094 kB / 0.96 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.9156, allocations: 87.55 kB / 0.9601 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9156, allocations: 0 / 0.9601 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002469/0.9159, allocations: 14.66 kB / 0.9601 GB, free: 3.086 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001569/0.916, allocations: 108.8 kB / 0.9602 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.9165, allocations: 123.5 kB / 0.9604 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.9165, allocations: 3.938 kB / 0.9604 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.9167, allocations: 63.17 kB / 0.9604 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.917, allocations: 12.77 kB / 0.9604 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.9176, allocations: 178.3 kB / 0.9606 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.9177, allocations: 0.6771 MB / 0.9613 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.08e-05/0.9178, allocations: 8.375 kB / 0.9613 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.9178, allocations: 9.469 kB / 0.9613 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/0.9178, allocations: 0 / 0.9613 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of Templates: time 0.003219/0.9211, allocations: 0.7171 MB / 0.962 GB, free: 1.68 MB / 0.7169 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