Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 80.81 kB / 20.75 MB, free: 3.734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000912/0.000912, allocations: 161 kB / 24.17 MB, free: 320 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9458/0.9458, allocations: 177.1 MB / 204.6 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.852/1.852, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0.6562 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.031e-05, allocations: 4.844 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001141/0.001161, allocations: 0.663 MB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.002568, allocations: 1.479 MB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.002596, allocations: 5.062 kB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.002614, allocations: 0 / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.002679, allocations: 9.219 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.002998, allocations: 124.7 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.003055, allocations: 29 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.003089, allocations: 4 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.003138, allocations: 23.77 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.003187, allocations: 11.98 kB / 0.7624 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.0032, allocations: 0 / 0.7624 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.003444, allocations: 255.4 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.003459, allocations: 11.92 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.318e-05/0.003472, allocations: 9.094 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.00367, allocations: 199.4 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003672, allocations: 0 / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003673, allocations: 0.625 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.003676, allocations: 4 kB / 0.7628 GB, free: 3.801 MB / 0.7136 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.0002898/0.003965, allocations: 269.8 kB / 0.7631 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.003993, allocations: 9.062 kB / 0.7631 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.004162, allocations: 54.38 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.134e-05/0.004233, allocations: 113.7 kB / 0.7632 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.004244, allocations: 2.156 kB / 0.7632 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.004262, allocations: 4.375 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.004376, allocations: 72.14 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004384, allocations: 192 / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.004392, allocations: 4.312 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.004398, allocations: 4.875 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.026e-05/0.004428, allocations: 15.98 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.017e-05/0.004518, allocations: 65.77 kB / 0.7634 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.616e-05/0.004584, allocations: 39.31 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.004601, allocations: 12.86 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.004613, allocations: 4.609 kB / 0.7635 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.00463, allocations: 34.75 kB / 0.7635 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.00463, allocations: 0.75 kB / 0.7635 GB, free: 3.027 MB / 0.7136 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.0008789/0.005509, allocations: 360 kB / 0.7638 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.005538, allocations: 59.34 kB / 0.7639 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.00562, allocations: 114.7 kB / 0.764 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.005633, allocations: 32.45 kB / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.00565, allocations: 80.14 kB / 0.7641 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.005682, allocations: 47.55 kB / 0.7642 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.005715, allocations: 17.7 kB / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.00578, allocations: 322.8 kB / 0.7645 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.82e-05/0.005808, allocations: 15.98 kB / 0.7645 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.446e-05/0.005832, allocations: 12 kB / 0.7645 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.005884, allocations: 38.89 kB / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.005885, allocations: 0 / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.002e-05/0.005965, allocations: 65.62 kB / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.005975, allocations: 10.41 kB / 0.7646 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.005979, allocations: 3.984 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.00599, allocations: 3.984 kB / 0.7646 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.006097, allocations: 36.78 kB / 0.7647 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.006099, allocations: 0 / 0.7647 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.006155, allocations: 21.94 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.006163, allocations: 8 kB / 0.7647 GB, free: 1.762 MB / 0.7136 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 5.049e-05/0.006214, allocations: 110.4 kB / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.006228, allocations: 11.98 kB / 0.7648 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.006257, allocations: 13.16 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006258, allocations: 1.5 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.00626, allocations: 4.688 kB / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.006262, allocations: 0 / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.006683, allocations: 299.5 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.006685, allocations: 0.5312 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.00676, allocations: 37.56 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.006763, allocations: 3.938 kB / 0.7651 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.006771, allocations: 15.05 kB / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.006774, allocations: 0 / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006774, allocations: 0 / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.006876, allocations: 177.2 kB / 0.7653 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.006884, allocations: 7.953 kB / 0.7653 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.006896, allocations: 3.938 kB / 0.7653 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.006967, allocations: 27.78 kB / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.006994, allocations: 11.98 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.006999, allocations: 0 / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.928e-05/0.007019, allocations: 21.22 kB / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007019, allocations: 0 / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000154/0.007173, allocations: 47.8 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 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.0001188/0.007292, allocations: 110.9 kB / 0.7655 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.288e-05/0.007384, allocations: 56.75 kB / 0.7656 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.007388, allocations: 4 kB / 0.7656 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.007431, allocations: 33.44 kB / 0.7656 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.007539, allocations: 8.594 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.007926, allocations: 261.7 kB / 0.7659 GB, free: 440 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.166e-05/0.007957, allocations: 63.34 kB / 0.766 GB, free: 356 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.854e-05/0.008016, allocations: 22.39 kB / 0.766 GB, free: 340 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.008086, allocations: 60.2 kB / 0.766 GB, free: 280 kB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.008086, allocations: 0 / 0.766 GB, free: 280 kB / 0.7136 GB Notification: Performance of Templates: time 0.003147/0.01123, allocations: 1.937 MB / 0.7679 GB, free: 14.43 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9288463750854135]