Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001028/0.001028, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001164/0.001164, allocations: 161 kB / 24.17 MB, free: 328 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 1.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.484 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 2.067/2.067, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.577e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001345/0.001361, allocations: 0.8541 MB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.002851, allocations: 1.507 MB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.002882, allocations: 0 / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.002909, allocations: 7.938 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.002951, allocations: 6.5 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.003319, allocations: 139.8 kB / 0.7626 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.003392, allocations: 52.97 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.003424, allocations: 7.984 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.00351, allocations: 43.83 kB / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.003556, allocations: 21.19 kB / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.003569, allocations: 4 kB / 0.7627 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.003852, allocations: 263.4 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.003869, allocations: 16.61 kB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.003889, allocations: 15.97 kB / 0.763 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.004113, allocations: 220.1 kB / 0.7632 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004115, allocations: 0 / 0.7632 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.92e-07/0.004116, allocations: 0.75 kB / 0.7632 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.004119, allocations: 0 / 0.7632 GB, free: 3.406 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003452/0.004464, allocations: 302.6 kB / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.004495, allocations: 12.03 kB / 0.7635 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.004697, allocations: 55.45 kB / 0.7635 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.333e-05/0.00478, allocations: 121.6 kB / 0.7637 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.004798, allocations: 8.375 kB / 0.7637 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.004818, allocations: 10 kB / 0.7637 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.004997, allocations: 150.3 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.005008, allocations: 7.391 kB / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.005017, allocations: 384 / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.005023, allocations: 3.938 kB / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.005068, allocations: 27.48 kB / 0.7639 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.005375, allocations: 204.2 kB / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.005486, allocations: 61.56 kB / 0.7641 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.00551, allocations: 16.86 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.005524, allocations: 11.88 kB / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.005546, allocations: 30.56 kB / 0.7642 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.005547, allocations: 0 / 0.7642 GB, free: 2.316 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=11): time 0.008065/0.01361, allocations: 2.139 MB / 0.7663 GB, free: 176 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.01364, allocations: 51.41 kB / 0.7663 GB, free: 112 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.0137, allocations: 112.2 kB / 0.7664 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.01374, allocations: 25.7 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.01377, allocations: 88.08 kB / 0.7665 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.01381, allocations: 43.58 kB / 0.7666 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.01392, allocations: 66.38 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.01398, allocations: 314.8 kB / 0.7669 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.0141, allocations: 93.06 kB / 0.767 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.01422, allocations: 103.9 kB / 0.7671 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.01449, allocations: 225.6 kB / 0.7673 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.01449, allocations: 1.656 kB / 0.7673 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003251/0.01482, allocations: 245.5 kB / 0.7676 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.01483, allocations: 7.938 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.01483, allocations: 0.625 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01484, allocations: 4 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.0152, allocations: 101.7 kB / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.01521, allocations: 1.016 kB / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.01542, allocations: 38.27 kB / 0.7677 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.01545, allocations: 15.94 kB / 0.7677 GB, free: 14.62 MB / 0.7292 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 (13): * Single equations (assignments): 13 * 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.307e-05/0.01554, allocations: 123.4 kB / 0.7678 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.0156, allocations: 8 kB / 0.7678 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.01563, allocations: 12.11 kB / 0.7679 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01563, allocations: 4 kB / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01563, allocations: 0.9062 kB / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01564, allocations: 192 / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.0162, allocations: 467.2 kB / 0.7683 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.0162, allocations: 4.797 kB / 0.7683 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.01655, allocations: 104.8 kB / 0.7684 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01655, allocations: 0.9375 kB / 0.7684 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.01658, allocations: 19.94 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01658, allocations: 0 / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01658, allocations: 1.875 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.01709, allocations: 454.9 kB / 0.7689 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.01716, allocations: 24.91 kB / 0.7689 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.0172, allocations: 4 kB / 0.7689 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.01743, allocations: 29.47 kB / 0.7689 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.0175, allocations: 27.91 kB / 0.769 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.01753, allocations: 16.94 kB / 0.769 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.909e-06/0.01754, allocations: 12.84 kB / 0.769 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01754, allocations: 0 / 0.769 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002297/0.01777, allocations: 56.84 kB / 0.769 GB, free: 13.23 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001226/0.0179, allocations: 97.34 kB / 0.7691 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.01821, allocations: 241.8 kB / 0.7694 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01822, allocations: 0 / 0.7694 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.01837, allocations: 134.2 kB / 0.7695 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.01854, allocations: 35.86 kB / 0.7695 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.02005, allocations: 0.5564 MB / 0.7701 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.275e-05/0.02008, allocations: 59.36 kB / 0.7701 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.02039, allocations: 95.09 kB / 0.7702 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.02068, allocations: 95.23 kB / 0.7703 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/0.02068, allocations: 4 kB / 0.7703 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.004969/0.02565, allocations: 3.855 MB / 0.7741 GB, free: 8.098 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.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: 5.375867121387273]