Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001399/0.001399, allocations: 114.4 kB / 16.42 MB, free: 6.441 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.001408/0.001408, allocations: 189.6 kB / 17.35 MB, free: 5.727 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 63.91 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002002/1.035, allocations: 0.6403 MB / 1.222 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001979/1.037, allocations: 1.45 MB / 1.223 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/1.037, allocations: 0 / 1.223 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/1.037, allocations: 3.938 kB / 1.223 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/1.037, allocations: 11.86 kB / 1.223 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/1.038, allocations: 126.9 kB / 1.223 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.495e-05/1.038, allocations: 27.91 kB / 1.223 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/1.038, allocations: 3.938 kB / 1.223 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/1.038, allocations: 15.92 kB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/1.038, allocations: 15.92 kB / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/1.038, allocations: 4 kB / 1.223 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/1.039, allocations: 323.3 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/1.039, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/1.039, allocations: 23.86 kB / 1.224 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/1.039, allocations: 183.7 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.039, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.844e-06/1.039, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.748e-06/1.039, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9512 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.0005295/1.04, allocations: 377 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.04, allocations: 12.02 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/1.04, allocations: 56.88 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/1.04, allocations: 184.2 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/1.04, allocations: 384 / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/1.04, allocations: 8.375 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/1.041, allocations: 77.89 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.041, allocations: 4 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/1.041, allocations: 0 / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/1.041, allocations: 0 / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/1.041, allocations: 79.89 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/1.041, allocations: 169.7 kB / 1.225 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/1.042, allocations: 130.4 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/1.042, allocations: 36.95 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/1.042, allocations: 8 kB / 1.225 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/1.042, allocations: 38.48 kB / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/1.042, allocations: 0 / 1.225 GB, free: 14.19 MB / 0.9512 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.004236/1.046, allocations: 0.7883 MB / 1.226 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/1.046, allocations: 55.34 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/1.046, allocations: 109.8 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/1.046, allocations: 29.7 kB / 1.226 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/1.047, allocations: 84.14 kB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/1.047, allocations: 27.61 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/1.047, allocations: 25.7 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.047, allocations: 318.9 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/1.047, allocations: 100.2 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/1.048, allocations: 99.89 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/1.048, allocations: 196.6 kB / 1.227 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.048, allocations: 4 kB / 1.227 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009215/1.049, allocations: 241.3 kB / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.049, allocations: 4 kB / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.049, allocations: 4 kB / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.049, allocations: 0 / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/1.05, allocations: 55.88 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.05, allocations: 4 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/1.05, allocations: 35.95 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/1.05, allocations: 7.984 kB / 1.227 GB, free: 11.97 MB / 0.9512 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 9.164e-05/1.05, allocations: 118.3 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/1.05, allocations: 15.78 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/1.05, allocations: 8.375 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.05, allocations: 4 kB / 1.227 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.05, allocations: 0 / 1.227 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/1.05, allocations: 81.09 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/1.05, allocations: 0 / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/1.051, allocations: 43.95 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/1.051, allocations: 7.984 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001167/1.052, allocations: 360.8 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001003/1.053, allocations: 414.5 kB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004426/1.053, allocations: 103.9 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.924e-05/1.053, allocations: 99.25 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of Backend: time 5.41e-07/1.053, allocations: 0 / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00105/1.054, allocations: 234.2 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004901/1.055, allocations: 0.5838 MB / 1.229 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of Templates: time 0.005356/1.06, allocations: 2.266 MB / 1.231 GB, free: 7.555 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches