Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_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_10_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.001354/0.001354, allocations: 119 kB / 16.42 MB, free: 6.48 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.001462/0.001462, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.547/1.547, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.516/2.516, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 67.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002761/1.089, allocations: 0.6373 MB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00283/1.092, allocations: 1.457 MB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/1.092, allocations: 0 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/1.092, allocations: 3.938 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/1.092, allocations: 7.938 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/1.093, allocations: 115.5 kB / 1.17 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.992e-05/1.093, allocations: 35.84 kB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.226e-05/1.093, allocations: 7.984 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/1.093, allocations: 11.94 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/1.093, allocations: 19.91 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/1.093, allocations: 0 / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007271/1.094, allocations: 319.3 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/1.094, allocations: 7.984 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/1.094, allocations: 15.88 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004615/1.095, allocations: 184 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/1.095, allocations: 4 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/1.095, allocations: 0 / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.296e-05/1.095, allocations: 4 kB / 1.17 GB, free: 1.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007626/1.096, allocations: 383 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.826e-05/1.096, allocations: 8.031 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/1.096, allocations: 60.81 kB / 1.171 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/1.096, allocations: 180.3 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/1.096, allocations: 384 / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/1.097, allocations: 8.312 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/1.097, allocations: 81.89 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/1.097, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/1.097, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/1.097, allocations: 4 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005424/1.098, allocations: 67.92 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/1.098, allocations: 169.7 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007883/1.099, allocations: 130.4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/1.099, allocations: 44.94 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/1.099, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/1.099, allocations: 38.48 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.933e-06/1.099, allocations: 4 kB / 1.171 GB, free: 15.7 MB / 0.9044 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.005834/1.105, allocations: 0.7901 MB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.105, allocations: 55.34 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/1.105, allocations: 109.8 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/1.105, allocations: 33.7 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/1.105, allocations: 80.14 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/1.105, allocations: 27.75 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/1.105, allocations: 33.7 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.106, allocations: 314.8 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005848/1.106, allocations: 95.89 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/1.107, allocations: 99.91 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/1.108, allocations: 196.6 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.108, allocations: 0 / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001239/1.109, allocations: 245.4 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/1.109, allocations: 4 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/1.109, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.109, allocations: 4 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/1.11, allocations: 55.88 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.11, allocations: 0 / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/1.11, allocations: 35.95 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/1.11, allocations: 4.375 kB / 1.173 GB, free: 13.48 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 (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 0.0001292/1.11, allocations: 113.8 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/1.11, allocations: 11.89 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/1.11, allocations: 20.36 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.11, allocations: 7.875 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.11, allocations: 0 / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/1.11, allocations: 81.11 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/1.11, allocations: 0 / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/1.111, allocations: 35.95 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/1.111, allocations: 7.984 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001596/1.112, allocations: 364.6 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001583/1.114, allocations: 414.5 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000655/1.115, allocations: 107.9 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001093/1.115, allocations: 91.58 kB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of Backend: time 8.11e-07/1.115, allocations: 0 / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001242/1.116, allocations: 248.2 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007123/1.117, allocations: 0.5643 MB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.008199/1.125, allocations: 2.277 MB / 1.178 GB, free: 9.074 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches