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.001002/0.001002, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0008841/0.0008841, allocations: 161 kB / 24.17 MB, free: 332 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.9204/0.9204, 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 1.84/1.84, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.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.423e-06/1.423e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.621e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.004803/0.004829, allocations: 0.81 MB / 0.7609 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.006617, allocations: 1.507 MB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.006654, allocations: 0 / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.006685, allocations: 4.812 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.006734, allocations: 4.922 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.01028, allocations: 149.9 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.519e-05/0.01037, allocations: 52.33 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.01041, allocations: 4.516 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.875e-05/0.01051, allocations: 40.92 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.01056, allocations: 23.95 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.01058, allocations: 4 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.01093, allocations: 256.4 kB / 0.7629 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.01095, allocations: 15.92 kB / 0.7629 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.01098, allocations: 19.97 kB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.01128, allocations: 219.9 kB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01128, allocations: 1.781 kB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.254e-06/0.01128, allocations: 4 kB / 0.7631 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.01128, allocations: 0 / 0.7631 GB, free: 3.496 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.0004104/0.0117, allocations: 292.4 kB / 0.7634 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.01173, allocations: 9.25 kB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.01197, allocations: 59 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.185e-05/0.01205, allocations: 113.7 kB / 0.7636 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.01208, allocations: 13.97 kB / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.0121, allocations: 8.375 kB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.01231, allocations: 150 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01233, allocations: 5.234 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.01234, allocations: 384 / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.01234, allocations: 7.938 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.0124, allocations: 16.61 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.01273, allocations: 209.2 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.01286, allocations: 63.69 kB / 0.764 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.01289, allocations: 20.84 kB / 0.764 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.0129, allocations: 5.531 kB / 0.764 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.01293, allocations: 34.56 kB / 0.7641 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.01293, allocations: 0 / 0.7641 GB, free: 2.418 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.01974/0.03267, allocations: 2.136 MB / 0.7662 GB, free: 284 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.0327, allocations: 55.41 kB / 0.7662 GB, free: 216 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.36e-05/0.03277, allocations: 106.7 kB / 0.7663 GB, free: 96 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.0328, allocations: 30.55 kB / 0.7663 GB, free: 60 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.03285, allocations: 92.02 kB / 0.7664 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.03291, allocations: 45.53 kB / 0.7665 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.03305, allocations: 61.56 kB / 0.7665 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.03314, allocations: 314.8 kB / 0.7668 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.03329, allocations: 95.92 kB / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.03344, allocations: 101.1 kB / 0.767 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.03377, allocations: 229.5 kB / 0.7672 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.03377, allocations: 3.938 kB / 0.7672 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000401/0.03417, allocations: 240.2 kB / 0.7675 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.03419, allocations: 11.98 kB / 0.7675 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.03419, allocations: 0 / 0.7675 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.03421, allocations: 0 / 0.7675 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.0346, allocations: 82.45 kB / 0.7676 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.0346, allocations: 0 / 0.7676 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.03485, allocations: 40.89 kB / 0.7676 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.03489, allocations: 17.89 kB / 0.7676 GB, free: 14.73 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 0.001213/0.03611, allocations: 117.8 kB / 0.7677 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.03621, allocations: 8.703 kB / 0.7677 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.03626, allocations: 12.12 kB / 0.7677 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.03627, allocations: 4.688 kB / 0.7677 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.03627, allocations: 0 / 0.7677 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.03628, allocations: 1.031 kB / 0.7678 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009496/0.03723, allocations: 475.3 kB / 0.7682 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.03723, allocations: 0 / 0.7682 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.03778, allocations: 81.91 kB / 0.7683 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.03778, allocations: 0 / 0.7683 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.03783, allocations: 15.94 kB / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.03783, allocations: 4.938 kB / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.03783, allocations: 0 / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008078/0.03864, allocations: 460.2 kB / 0.7687 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.03877, allocations: 29.08 kB / 0.7688 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.03883, allocations: 0 / 0.7688 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.03923, allocations: 32.95 kB / 0.7688 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.03932, allocations: 25.08 kB / 0.7688 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/0.03937, allocations: 19.94 kB / 0.7688 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.112e-05/0.03939, allocations: 8.859 kB / 0.7689 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03939, allocations: 0.9375 kB / 0.7689 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003811/0.03977, allocations: 55.92 kB / 0.7689 GB, free: 13.37 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.0002471/0.04002, allocations: 94.25 kB / 0.769 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.0405, allocations: 243.1 kB / 0.7692 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.04051, allocations: 0.875 kB / 0.7692 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.04075, allocations: 137.4 kB / 0.7694 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.04102, allocations: 35.86 kB / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.04346, allocations: 0.5569 MB / 0.7699 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.283e-05/0.0435, allocations: 64.75 kB / 0.77 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005125/0.04401, allocations: 85.58 kB / 0.7701 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.04439, allocations: 99.23 kB / 0.7702 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.0444, allocations: 0 / 0.7702 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.00717/0.05157, allocations: 3.854 MB / 0.7739 GB, free: 8.246 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 -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: 4.985456518363208]