Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 111.8 kB / 16.42 MB, free: 6.457 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.001017/0.001017, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.88 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001972/1.02, allocations: 0.6362 MB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00184/1.021, allocations: 1.452 MB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/1.021, allocations: 0 / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/1.022, allocations: 5.062 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/1.022, allocations: 9.672 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/1.022, allocations: 122.3 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.967e-05/1.022, allocations: 26.08 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/1.022, allocations: 3.484 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/1.022, allocations: 15.69 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/1.022, allocations: 31.05 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/1.022, allocations: 1.75 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000524/1.023, allocations: 316.8 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/1.023, allocations: 2.875 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/1.023, allocations: 20.2 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/1.023, allocations: 183.1 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.023, allocations: 0.7188 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/1.023, allocations: 0 / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.44e-06/1.023, allocations: 0 / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004549/1.024, allocations: 379.7 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.024, allocations: 9.672 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/1.024, allocations: 62.34 kB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/1.024, allocations: 179.3 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/1.024, allocations: 1.875 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/1.024, allocations: 6.938 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/1.025, allocations: 76.64 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.025, allocations: 3.906 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.025, allocations: 1.125 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.025, allocations: 1.891 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/1.025, allocations: 70.69 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/1.025, allocations: 166.5 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/1.026, allocations: 127.6 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/1.026, allocations: 49.05 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/1.026, allocations: 4.719 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/1.026, allocations: 36.06 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 2.144e-06/1.026, allocations: 0 / 1.093 GB, free: 2.855 MB / 0.8575 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004229/1.03, allocations: 0.7953 MB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/1.03, allocations: 53.59 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.219e-05/1.03, allocations: 113.3 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/1.031, allocations: 26.42 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.415e-05/1.031, allocations: 87.08 kB / 1.094 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/1.031, allocations: 29.73 kB / 1.094 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/1.031, allocations: 25.94 kB / 1.094 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/1.031, allocations: 322.6 kB / 1.094 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/1.031, allocations: 95.39 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/1.032, allocations: 95.31 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008525/1.033, allocations: 198.9 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.033, allocations: 4 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009629/1.033, allocations: 244.8 kB / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.034, allocations: 5.281 kB / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.034, allocations: 96 / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.034, allocations: 5.438 kB / 1.095 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/1.034, allocations: 54.53 kB / 1.095 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/1.034, allocations: 1.531 kB / 1.095 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/1.034, allocations: 36.2 kB / 1.095 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/1.034, allocations: 4.469 kB / 1.095 GB, free: 1.914 MB / 0.8575 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 (9): * Single equations (assignments): 9 * 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 6.687e-05/1.034, allocations: 117.3 kB / 1.095 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/1.034, allocations: 7.312 kB / 1.095 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/1.034, allocations: 14.62 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.034, allocations: 0.75 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.034, allocations: 5.062 kB / 1.095 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/1.034, allocations: 83.5 kB / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/1.034, allocations: 1.609 kB / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/1.035, allocations: 32.52 kB / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/1.035, allocations: 19.75 kB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001193/1.036, allocations: 352.2 kB / 1.095 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009659/1.037, allocations: 412.7 kB / 1.096 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004473/1.037, allocations: 109.2 kB / 1.096 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.995e-05/1.037, allocations: 94.52 kB / 1.096 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of Backend: time 5.11e-07/1.037, allocations: 0 / 1.096 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001017/1.038, allocations: 242 kB / 1.096 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003366/1.039, allocations: 0.5676 MB / 1.097 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of Templates: time 0.006172/1.045, allocations: 2.279 MB / 1.099 GB, free: 324 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches