Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001044/0.001044, 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.00157/0.00157, 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 1.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.99/1.99, allocations: 377.9 MB / 0.624 GB, free: 8.332 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.377e-05, allocations: 5.547 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001395/0.001419, allocations: 0.6769 MB / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.003415, allocations: 1.476 MB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.003445, allocations: 5.562 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.003462, allocations: 0 / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.003509, allocations: 1.781 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.003972, allocations: 147.9 kB / 0.7624 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.004041, allocations: 21.41 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.004085, allocations: 11.97 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.807e-05/0.004163, allocations: 21.41 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.004251, allocations: 20.84 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.00427, allocations: 4 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.004721, allocations: 258.2 kB / 0.7627 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.004738, allocations: 7.969 kB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.00476, allocations: 12.73 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.004996, allocations: 199.5 kB / 0.7629 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004999, allocations: 0.5938 kB / 0.7629 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005001, allocations: 5.875 kB / 0.7629 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005005, allocations: 0 / 0.7629 GB, free: 3.719 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003618/0.005366, allocations: 264.3 kB / 0.7632 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.005403, allocations: 8.031 kB / 0.7632 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.005707, allocations: 63.27 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.918e-05/0.005787, allocations: 102.5 kB / 0.7633 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.005799, allocations: 8.312 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.005818, allocations: 1.219 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.00597, allocations: 102.7 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.005977, allocations: 192 / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005988, allocations: 4.375 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.005995, allocations: 10.67 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.006033, allocations: 15.92 kB / 0.7635 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.006141, allocations: 65 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.006306, allocations: 42.61 kB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.006333, allocations: 16.94 kB / 0.7636 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.006539, allocations: 46.42 kB / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.00657, allocations: 39.48 kB / 0.7637 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.006571, allocations: 0 / 0.7637 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0004465/0.007018, allocations: 197 kB / 0.7639 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.007043, allocations: 51.41 kB / 0.7639 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.413e-05/0.007097, allocations: 106.6 kB / 0.764 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.007113, allocations: 33.64 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.007137, allocations: 84.12 kB / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.007163, allocations: 22.23 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.0072, allocations: 17.72 kB / 0.7642 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.007281, allocations: 318.8 kB / 0.7645 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.0073, allocations: 4 kB / 0.7645 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.007319, allocations: 12.06 kB / 0.7645 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.001e-05/0.007369, allocations: 20.84 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.00737, allocations: 1.031 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.427e-05/0.007444, allocations: 49.69 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.007457, allocations: 6.344 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.007462, allocations: 5 kB / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.007472, allocations: 0 / 0.7646 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.007549, allocations: 24.94 kB / 0.7646 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.007552, allocations: 0 / 0.7646 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.007583, allocations: 11.53 kB / 0.7646 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.007592, allocations: 7.984 kB / 0.7646 GB, free: 1.828 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 (6): * Single equations (assignments): 6 * 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.652e-05/0.007649, allocations: 105.8 kB / 0.7647 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.00766, allocations: 8 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.007778, allocations: 68.69 kB / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007779, allocations: 0 / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007781, allocations: 0 / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007785, allocations: 3.938 kB / 0.7648 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.069e-05/0.007875, allocations: 85.81 kB / 0.7649 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007877, allocations: 3.156 kB / 0.7649 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.287e-05/0.00795, allocations: 15.98 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.007953, allocations: 0 / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.00796, allocations: 256 / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.007962, allocations: 4 kB / 0.7649 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007963, allocations: 4 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.008094, allocations: 85.05 kB / 0.765 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.008125, allocations: 15.86 kB / 0.765 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.008136, allocations: 0 / 0.765 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.00817, allocations: 11.98 kB / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.008187, allocations: 0 / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.008194, allocations: 3.938 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.237e-05/0.008206, allocations: 12.84 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.008206, allocations: 0 / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001383/0.008345, allocations: 31.88 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001593/0.008504, allocations: 113.5 kB / 0.7651 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.928e-05/0.008593, allocations: 34.67 kB / 0.7652 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.008596, allocations: 0 / 0.7652 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.743e-05/0.008623, allocations: 24.78 kB / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.662e-05/0.00871, allocations: 7.938 kB / 0.7652 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.00904, allocations: 142 kB / 0.7653 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.009076, allocations: 59.34 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.576e-05/0.009142, allocations: 17.27 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.009223, allocations: 60.09 kB / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/0.009224, allocations: 0 / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.003314/0.01254, allocations: 1.327 MB / 0.7668 GB, free: 15.57 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.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.159106478095055]