Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.231/2.231, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001022, allocations: 95.88 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.477e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3368, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.357, allocations: 151.2 MB / 1.366 GB, free: 2.922 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/1.357, allocations: 73.5 kB / 1.366 GB, free: 2.887 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01206/1.369, allocations: 3.836 MB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.913e-06/1.369, allocations: 0 / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.343e-06/1.369, allocations: 0 / 1.37 GB, free: 15.57 MB / 0.8386 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.000464/1.369, allocations: 382 kB / 1.371 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.37, allocations: 8.031 kB / 1.371 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/1.37, allocations: 68.55 kB / 1.371 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/1.37, allocations: 166.9 kB / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/1.37, allocations: 0 / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/1.37, allocations: 4 kB / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.37, allocations: 52.78 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/1.37, allocations: 0 / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/1.37, allocations: 4 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.37, allocations: 0 / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/1.37, allocations: 26.73 kB / 1.371 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/1.371, allocations: 299.9 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/1.371, allocations: 41.14 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/1.371, allocations: 20.03 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/1.371, allocations: 4 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/1.371, allocations: 30.56 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.605e-06/1.371, allocations: 0 / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001808/1.371, allocations: 57.33 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/1.371, allocations: 59.34 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/1.371, allocations: 100.9 kB / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/1.371, allocations: 25.7 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/1.372, allocations: 87.52 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/1.372, allocations: 3.906 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/1.372, allocations: 0 / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.372, allocations: 314.7 kB / 1.372 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.708e-05/1.372, allocations: 15.23 kB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/1.372, allocations: 11.75 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/1.372, allocations: 12.53 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.372, allocations: 0 / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000101/1.372, allocations: 53.19 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.372, allocations: 4 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.372, allocations: 3.938 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/1.372, allocations: 4 kB / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/1.372, allocations: 28 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.372, allocations: 0 / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/1.372, allocations: 27.84 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/1.372, allocations: 4 kB / 1.372 GB, free: 13.57 MB / 0.8386 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 () * 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 7.742e-05/1.372, allocations: 108.3 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/1.372, allocations: 4 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/1.372, allocations: 11.06 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/1.372, allocations: 0 / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/1.372, allocations: 0 / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.372, allocations: 0 / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/1.373, allocations: 175.6 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.373, allocations: 0 / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/1.373, allocations: 31.97 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.373, allocations: 0 / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.373, allocations: 0 / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/1.373, allocations: 0 / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.373, allocations: 0 / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/1.373, allocations: 156.9 kB / 1.372 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/1.373, allocations: 81.05 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/1.373, allocations: 32 / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/1.373, allocations: 27.97 kB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/1.373, allocations: 0 / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/1.373, allocations: 4 kB / 1.373 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.702e-05/1.373, allocations: 86.7 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.373, allocations: 0 / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002155/1.374, allocations: 19.91 kB / 1.373 GB, free: 12.82 MB / 0.8386 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 () * 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.0001777/1.374, allocations: 107.2 kB / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001162/1.374, allocations: 31.3 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.374, allocations: 0 / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.204e-05/1.374, allocations: 19.5 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/1.374, allocations: 11.72 kB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/1.375, allocations: 96.45 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/1.375, allocations: 0.6809 MB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.926e-05/1.375, allocations: 12 kB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/1.375, allocations: 11.42 kB / 1.374 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.375, allocations: 0 / 1.374 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of Templates: time 0.003071/1.378, allocations: 0.716 MB / 1.374 GB, free: 11.12 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches