Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_10_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.0008974/0.0008973, allocations: 92 kB / 15.06 MB, free: 1.098 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.001159/0.001159, allocations: 172.7 kB / 15.95 MB, free: 208 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.554/1.554, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.793/2.793, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 16 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7966, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001861/0.7985, allocations: 1.161 MB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.7999, allocations: 0.7376 MB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.7999, allocations: 0 / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.8, allocations: 0 / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.8, allocations: 3.938 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.8006, allocations: 103.7 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.962e-05/0.8007, allocations: 23.92 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.8008, allocations: 4 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.8009, allocations: 19.91 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.801, allocations: 15.97 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.801, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005305/0.8015, allocations: 303.3 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.8016, allocations: 7.984 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.8016, allocations: 29.7 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.8019, allocations: 135.8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.8019, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8019, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.8019, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 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.0006441/0.8026, allocations: 381.2 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.8026, allocations: 8.031 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004897/0.8031, allocations: 83.84 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.8033, allocations: 167 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.8033, allocations: 4 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.8034, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.8037, allocations: 101.5 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.8037, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.8038, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.8038, allocations: 7.984 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.8042, allocations: 119.9 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.8048, allocations: 296.9 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.8051, allocations: 118.4 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.8053, allocations: 64.86 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.8054, allocations: 4 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.8054, allocations: 34.56 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.8054, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0007165/0.8061, allocations: 201.5 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.8062, allocations: 55.53 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.8063, allocations: 97.86 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.8063, allocations: 25.7 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.8063, allocations: 92.11 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.8064, allocations: 11.84 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.8064, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8065, allocations: 310.8 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.8067, allocations: 55.95 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.8069, allocations: 63.95 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.8071, allocations: 55.97 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8071, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004427/0.8076, allocations: 153.4 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8076, allocations: 4 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.8076, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8076, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.8078, allocations: 32 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.8078, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.8079, allocations: 28.16 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.808, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 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 9.964e-05/0.8081, allocations: 125.7 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.8081, allocations: 4 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.8081, allocations: 3.125 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8081, allocations: 0 / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8082, allocations: 4 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8082, allocations: 0 / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.8083, allocations: 177.5 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8084, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.8085, allocations: 31.97 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.8085, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.8085, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8085, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8085, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.809, allocations: 243.5 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.8091, allocations: 84.97 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.8091, allocations: 0 / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.8092, allocations: 28 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.8093, allocations: 7.922 kB / 1.028 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.8093, allocations: 4 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.8094, allocations: 83.28 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8094, allocations: 0 / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002664/0.8096, allocations: 8 kB / 1.028 GB, free: 9.883 MB / 0.7794 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.0002008/0.8098, allocations: 111.2 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.8103, allocations: 119.9 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8103, allocations: 0 / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.8105, allocations: 60.02 kB / 1.028 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.8109, allocations: 7.984 kB / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.8114, allocations: 188.5 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.8117, allocations: 0.6731 MB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.457e-05/0.8118, allocations: 8 kB / 1.029 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.8118, allocations: 11.42 kB / 1.029 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of SimCode: time 6.91e-07/0.8118, allocations: 4 kB / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of Templates: time 0.003709/0.8156, allocations: 0.7157 MB / 1.03 GB, free: 7.938 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches