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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001483/0.001489, allocations: 108 kB / 15.61 MB, free: 152 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.001824/0.001824, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.89 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6682/0.6696, allocations: 151.6 MB / 1.017 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00299/0.6726, allocations: 1.431 MB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.6738, allocations: 0.7952 MB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.6739, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.6739, allocations: 3.938 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.674, allocations: 3.938 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.6744, allocations: 131.5 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.6745, allocations: 31.91 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.112e-05/0.6746, allocations: 8 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.6746, allocations: 15.98 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.6747, allocations: 15.92 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.6747, allocations: 4 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.6752, allocations: 319.3 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.6752, allocations: 7.984 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.6753, allocations: 11.94 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.6756, allocations: 199.6 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.6756, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6756, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.6756, allocations: 3.938 kB / 1.02 GB, free: 15.65 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.0004971/0.6761, allocations: 373.4 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.6762, allocations: 8.031 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004794/0.6766, allocations: 80.73 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.6768, allocations: 160.4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.6768, allocations: 4.375 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.6768, allocations: 8.312 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.6771, allocations: 85.94 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.6771, allocations: 3.938 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.6771, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.6772, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.6776, allocations: 87.91 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.6781, allocations: 304.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.6785, allocations: 98.5 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.6787, allocations: 48.88 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.6787, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.6788, allocations: 38.55 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.6788, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0007416/0.6795, allocations: 173.5 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.6796, allocations: 51.41 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.6796, allocations: 101.8 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.6797, allocations: 25.7 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.6797, allocations: 88.14 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.6797, allocations: 3.906 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.6798, allocations: 17.7 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6799, allocations: 318.9 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.6801, allocations: 39.95 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.6803, allocations: 47.95 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.6808, allocations: 92.77 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6808, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004685/0.6812, allocations: 129.5 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6813, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.6813, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6813, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.6815, allocations: 28 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.6815, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.6816, allocations: 19.97 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.6816, allocations: 0 / 1.022 GB, free: 13.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.13e-05/0.6817, allocations: 111.3 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.6817, allocations: 7.938 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.6817, allocations: 11.12 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6818, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6818, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6818, allocations: 3.984 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.682, allocations: 177.5 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.682, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.6821, allocations: 23.97 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6821, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.6821, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6821, allocations: 4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6821, allocations: 7.875 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.6827, allocations: 223.3 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.6827, allocations: 81.36 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.6827, allocations: 3.984 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.6829, allocations: 16.02 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.6829, allocations: 11.98 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.6829, allocations: 3.984 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.683, allocations: 83.28 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.683, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002393/0.6832, allocations: 16 kB / 1.023 GB, free: 12.17 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 (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.0001746/0.6834, allocations: 107.2 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000474/0.6839, allocations: 99.84 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6839, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.6842, allocations: 52 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.6845, allocations: 9.656 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.685, allocations: 149.6 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.6854, allocations: 0.6768 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.355e-05/0.6854, allocations: 12 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.6855, allocations: 11.44 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6855, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of Templates: time 0.002926/0.6884, allocations: 0.8233 MB / 1.025 GB, free: 10.19 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