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.001305/0.001305, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 174.5 kB / 16.92 MB, free: 6.652 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.534/1.534, allocations: 223.3 MB / 241 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.501/2.501, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003591, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.727, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001471/0.7285, allocations: 1.165 MB / 0.9568 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.7295, allocations: 0.7985 MB / 0.9576 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.7296, allocations: 4 kB / 0.9576 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.7296, allocations: 0 / 0.9576 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.7297, allocations: 1.688 kB / 0.9576 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.73, allocations: 97.91 kB / 0.9577 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.116e-05/0.7301, allocations: 38.52 kB / 0.9578 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.7302, allocations: 6.047 kB / 0.9578 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.7303, allocations: 11.31 kB / 0.9578 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.7303, allocations: 21.8 kB / 0.9578 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.7303, allocations: 1.844 kB / 0.9578 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.7308, allocations: 314.8 kB / 0.9581 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.7308, allocations: 5.281 kB / 0.9581 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.7308, allocations: 40.86 kB / 0.9581 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.731, allocations: 133.8 kB / 0.9583 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.7311, allocations: 3.984 kB / 0.9583 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7311, allocations: 4 kB / 0.9583 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7311, allocations: 0 / 0.9583 GB, free: 5.828 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.0004426/0.7315, allocations: 377 kB / 0.9586 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.7316, allocations: 8.938 kB / 0.9586 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004583/0.732, allocations: 82.83 kB / 0.9587 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.044e-05/0.7321, allocations: 169.7 kB / 0.9589 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.7321, allocations: 1.75 kB / 0.9589 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.7322, allocations: 5.688 kB / 0.9589 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.7325, allocations: 100.4 kB / 0.959 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.7325, allocations: 1.375 kB / 0.959 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.7325, allocations: 0 / 0.959 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7325, allocations: 0 / 0.959 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.733, allocations: 113.2 kB / 0.9591 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.7334, allocations: 311.8 kB / 0.9594 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.7339, allocations: 108.2 kB / 0.9595 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.7341, allocations: 62.09 kB / 0.9595 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.7341, allocations: 1 kB / 0.9596 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.7341, allocations: 39.56 kB / 0.9596 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.7342, allocations: 0 / 0.9596 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0007589/0.7349, allocations: 205.4 kB / 0.9598 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.735, allocations: 53.28 kB / 0.9598 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/0.735, allocations: 102.9 kB / 0.9599 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.735, allocations: 31.64 kB / 0.96 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.7351, allocations: 84.14 kB / 0.96 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.7351, allocations: 9.703 kB / 0.9601 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.7351, allocations: 9.719 kB / 0.9601 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.7352, allocations: 320.9 kB / 0.9604 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.7354, allocations: 55.23 kB / 0.9604 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.7356, allocations: 57.83 kB / 0.9605 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.736, allocations: 118.9 kB / 0.9606 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.736, allocations: 0 / 0.9606 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004563/0.7365, allocations: 154.4 kB / 0.9607 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7365, allocations: 8.156 kB / 0.9607 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7365, allocations: 1.375 kB / 0.9607 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7366, allocations: 0 / 0.9607 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.7367, allocations: 27.22 kB / 0.9608 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7367, allocations: 0 / 0.9608 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.7369, allocations: 24.48 kB / 0.9608 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.7369, allocations: 1.375 kB / 0.9608 GB, free: 3.723 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.7369, allocations: 115.1 kB / 0.9609 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.737, allocations: 5.312 kB / 0.9609 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.737, allocations: 8.5 kB / 0.9609 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.737, allocations: 0 / 0.9609 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.737, allocations: 7.984 kB / 0.9609 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.737, allocations: 1.375 kB / 0.9609 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.7372, allocations: 177.8 kB / 0.9611 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.7372, allocations: 256 / 0.9611 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.7373, allocations: 31.22 kB / 0.9611 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7373, allocations: 0 / 0.9611 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.7374, allocations: 5.375 kB / 0.9611 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.7374, allocations: 0 / 0.9611 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7374, allocations: 0 / 0.9611 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.7379, allocations: 249 kB / 0.9614 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.7379, allocations: 81.86 kB / 0.9614 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.7379, allocations: 1.188 kB / 0.9614 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.7381, allocations: 24 kB / 0.9615 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.7381, allocations: 1.25 kB / 0.9615 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.7381, allocations: 4.906 kB / 0.9615 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.473e-05/0.7382, allocations: 87.23 kB / 0.9616 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7382, allocations: 1.062 kB / 0.9616 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002431/0.7384, allocations: 10.22 kB / 0.9616 GB, free: 2.977 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 (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.0001446/0.7386, allocations: 108.3 kB / 0.9617 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004923/0.7391, allocations: 124 kB / 0.9618 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.7391, allocations: 1.219 kB / 0.9618 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.7393, allocations: 62.17 kB / 0.9619 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.7396, allocations: 8.641 kB / 0.9619 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.7402, allocations: 209 kB / 0.9621 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.7403, allocations: 0.6771 MB / 0.9627 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.7403, allocations: 9.531 kB / 0.9627 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.7403, allocations: 0.9688 kB / 0.9627 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of Templates: time 0.002168/0.7425, allocations: 0.8805 MB / 0.9636 GB, free: 1.477 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/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