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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001036/0.001036, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001458/0.001458, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.916/2.916, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004948, allocations: 15.94 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8481/0.8486, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001081/0.8498, allocations: 365.2 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.8521, allocations: 1.381 MB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.8522, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.8522, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.8523, allocations: 3.938 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.8528, allocations: 99.7 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.405e-05/0.8529, allocations: 23.91 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.853, allocations: 3.938 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.853, allocations: 11.98 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.8531, allocations: 23.84 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.8532, allocations: 7.938 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.8536, allocations: 307.4 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.8537, allocations: 8 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.8537, allocations: 29.64 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.8539, allocations: 133.8 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.854, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.455e-06/0.854, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.854, allocations: 0 / 1.025 GB, free: 13.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005815/0.8546, allocations: 375.2 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.8546, allocations: 8.562 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003749/0.855, allocations: 75.92 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.8552, allocations: 175 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8552, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.8553, allocations: 11.91 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.8555, allocations: 85.59 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.8556, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.8556, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.8556, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.8559, allocations: 91.86 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.8562, allocations: 165.7 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.8567, allocations: 138.5 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.8568, allocations: 52.94 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.8569, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.8569, allocations: 38.52 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 2.745e-06/0.8569, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 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.003762/0.8607, allocations: 0.9556 MB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.8607, allocations: 51.41 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.8608, allocations: 113.8 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.8609, allocations: 25.7 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.8609, allocations: 88.12 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.861, allocations: 31.55 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.861, allocations: 4.094 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8611, allocations: 322.8 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.8615, allocations: 123.8 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.8618, allocations: 111.9 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.8622, allocations: 111.9 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.8622, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007966/0.863, allocations: 297.3 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.8631, allocations: 4 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8631, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8631, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.8634, allocations: 67.94 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.8634, allocations: 4 kB / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.8636, allocations: 43.95 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.8636, allocations: 4 kB / 1.028 GB, free: 9.914 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.798e-05/0.8637, allocations: 117.8 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.8638, allocations: 7.938 kB / 1.028 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.8638, allocations: 12.38 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8638, allocations: 3.938 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.8638, allocations: 4.75 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.8638, allocations: 0 / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.8654, allocations: 0.6599 MB / 1.029 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.8654, allocations: 0 / 1.029 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.8657, allocations: 64 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.8657, allocations: 4 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.8657, allocations: 4 kB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.8657, allocations: 8 kB / 1.029 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.8657, allocations: 8.203 kB / 1.029 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000842/0.8666, allocations: 393.1 kB / 1.029 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.8666, allocations: 81.11 kB / 1.029 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.8667, allocations: 0 / 1.029 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.8669, allocations: 47.95 kB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.867, allocations: 11.98 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.867, allocations: 4 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.867, allocations: 95.25 kB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.867, allocations: 0 / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003005/0.8673, allocations: 43.92 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002455/0.8676, allocations: 135.2 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008293/0.8684, allocations: 247.7 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8684, allocations: 0 / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.8689, allocations: 132 kB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.8691, allocations: 11.95 kB / 1.03 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.8705, allocations: 476.2 kB / 1.031 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.8708, allocations: 0.6848 MB / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.8709, allocations: 20.66 kB / 1.031 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.871, allocations: 23.42 kB / 1.031 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.871, allocations: 0 / 1.031 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of Templates: time 0.004358/0.8753, allocations: 1.549 MB / 1.033 GB, free: 4.93 MB / 0.7794 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/jenkins/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