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.001598/0.001598, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001469/0.001469, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.477/1.477, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.617/2.617, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.023, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003114/1.026, allocations: 1.443 MB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001403/1.028, allocations: 0.7938 MB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/1.028, allocations: 0 / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/1.028, allocations: 7.875 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/1.028, allocations: 0 / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/1.029, allocations: 127.5 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/1.029, allocations: 31.92 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/1.029, allocations: 7.984 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/1.029, allocations: 15.98 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/1.029, allocations: 23.91 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/1.029, allocations: 0 / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004871/1.029, allocations: 319.4 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/1.029, allocations: 7.984 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/1.03, allocations: 15.92 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/1.03, allocations: 191.6 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.03, allocations: 4 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.973e-06/1.03, allocations: 0 / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.762e-06/1.03, allocations: 0 / 1.17 GB, free: 0.8555 MB / 0.8887 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.0006573/1.031, allocations: 371.2 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.031, allocations: 15.97 kB / 1.171 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004989/1.031, allocations: 68.78 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/1.031, allocations: 168.3 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/1.031, allocations: 4.312 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/1.031, allocations: 384 / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/1.032, allocations: 89.94 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.032, allocations: 3.984 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.032, allocations: 0 / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/1.032, allocations: 4 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/1.032, allocations: 87.91 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/1.033, allocations: 306.6 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/1.033, allocations: 94.48 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/1.033, allocations: 52.88 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/1.033, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/1.033, allocations: 30.56 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/1.033, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0007976/1.034, allocations: 173.6 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/1.034, allocations: 51.41 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/1.034, allocations: 97.84 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/1.034, allocations: 33.7 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/1.035, allocations: 80.14 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/1.035, allocations: 3.906 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/1.035, allocations: 17.72 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.035, allocations: 314.8 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/1.035, allocations: 47.98 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/1.035, allocations: 43.95 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/1.036, allocations: 88.83 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.036, allocations: 3.938 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004679/1.036, allocations: 129.8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.036, allocations: 4 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.036, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/1.036, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/1.036, allocations: 23.97 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.036, allocations: 4.031 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/1.037, allocations: 19.97 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/1.037, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 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 0.0001144/1.037, allocations: 121.7 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/1.037, allocations: 7.906 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/1.037, allocations: 3.125 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.037, allocations: 4 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.037, allocations: 0 / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/1.037, allocations: 81.05 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/1.037, allocations: 7.938 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/1.037, allocations: 19.97 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/1.037, allocations: 7.938 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005969/1.038, allocations: 224.8 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005391/1.038, allocations: 286.8 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000218/1.038, allocations: 43.95 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.174e-05/1.039, allocations: 87.31 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of Backend: time 5.71e-07/1.039, allocations: 0 / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000768/1.039, allocations: 173.8 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006812/1.04, allocations: 0.5648 MB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.004631/1.045, allocations: 1.712 MB / 1.176 GB, free: 10.81 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches