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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001085/0.001085, allocations: 111.4 kB / 16.37 MB, free: 5.539 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.001092/0.001092, allocations: 192.8 kB / 17.31 MB, free: 5.18 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.211/1.211, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.248/2.248, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.59 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2648, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001678/0.2665, allocations: 0.6444 MB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2681, allocations: 1.46 MB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.2682, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.2682, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.301e-05/0.2683, allocations: 3.938 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.2687, allocations: 123.5 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.2688, allocations: 31.73 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.2688, allocations: 0 / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.55e-05/0.2689, allocations: 23.91 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.2689, allocations: 15.92 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2689, allocations: 4 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.2694, allocations: 319.3 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.2694, allocations: 8 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.2694, allocations: 19.8 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.2697, allocations: 179.7 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2697, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2697, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2697, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 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.0004517/0.2702, allocations: 384.7 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2702, allocations: 16.03 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.2706, allocations: 56.77 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2707, allocations: 172.4 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2707, allocations: 4.375 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.2707, allocations: 384 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.271, allocations: 77.95 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.271, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.271, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.271, allocations: 4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.2714, allocations: 75.84 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.2715, allocations: 169.6 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.272, allocations: 126.5 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.2722, allocations: 44.95 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2722, allocations: 11.91 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.2723, allocations: 34.5 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2723, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 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.003624/0.2759, allocations: 0.79 MB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.2759, allocations: 55.41 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.276, allocations: 109.8 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.276, allocations: 29.7 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.2761, allocations: 84.14 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.2761, allocations: 31.55 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.2762, allocations: 29.7 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.2763, allocations: 310.8 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.2767, allocations: 99.89 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.277, allocations: 103.8 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.2778, allocations: 192.7 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2778, allocations: 192 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007875/0.2786, allocations: 249.3 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2786, allocations: 8 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2786, allocations: 0 / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2786, allocations: 0 / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.2789, allocations: 55.94 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2789, allocations: 0 / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.2791, allocations: 32.33 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.2792, allocations: 11.98 kB / 1.033 GB, free: 11.63 MB / 0.8106 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.11e-05/0.2793, allocations: 121.7 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.2793, allocations: 0 / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.2793, allocations: 16.31 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.2793, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2794, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2794, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.2809, allocations: 0.6013 MB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2809, allocations: 0 / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.2811, allocations: 55.94 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.2811, allocations: 4 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2812, allocations: 7.922 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2812, allocations: 4 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2812, allocations: 0 / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00082/0.282, allocations: 348.8 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.2821, allocations: 77.11 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.2821, allocations: 4 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.2823, allocations: 39.95 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.2824, allocations: 11.92 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.2824, allocations: 4 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.2824, allocations: 91.27 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2824, allocations: 0 / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002783/0.2827, allocations: 47.98 kB / 1.034 GB, free: 10.1 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002094/0.2829, allocations: 123.2 kB / 1.034 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00082/0.2838, allocations: 207.7 kB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2838, allocations: 0 / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.2842, allocations: 112 kB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.2844, allocations: 11.12 kB / 1.035 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2857, allocations: 402.3 kB / 1.035 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.2859, allocations: 0.6846 MB / 1.036 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.493e-05/0.2861, allocations: 29.66 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.2861, allocations: 19.42 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2861, allocations: 0 / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of Templates: time 0.003627/0.2898, allocations: 1.66 MB / 1.037 GB, free: 6.809 MB / 0.8106 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 -s cvode -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