Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009699/0.0009699, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009775/0.0009775, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 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.049/1.049, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.348/2.348, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.098e-06/4.098e-06, allocations: 4 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/3.098e-05, allocations: 8.219 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001793/0.001824, allocations: 0.6265 MB / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.003989, allocations: 1.474 MB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.004014, allocations: 0 / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.004032, allocations: 3.938 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/0.004065, allocations: 0 / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.004608, allocations: 147.4 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.004685, allocations: 23.98 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.004723, allocations: 7.922 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.004797, allocations: 23.97 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.857e-05/0.004876, allocations: 15.97 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004894, allocations: 4 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.005273, allocations: 247.5 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.005293, allocations: 7.984 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.005317, allocations: 15.97 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.005627, allocations: 203.4 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005629, allocations: 0 / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00563, allocations: 0 / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.005633, allocations: 4 kB / 0.8414 GB, free: 11.36 MB / 0.8073 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.0004149/0.006048, allocations: 268.5 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.006085, allocations: 12.02 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/0.006378, allocations: 56.81 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.602e-05/0.006474, allocations: 109.8 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.00649, allocations: 384 / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.006517, allocations: 4.375 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.006709, allocations: 108.6 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.006716, allocations: 192 / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.006726, allocations: 384 / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.006734, allocations: 3.938 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.006783, allocations: 15.92 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.006909, allocations: 65.05 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.007118, allocations: 42.59 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.00715, allocations: 12.95 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.007359, allocations: 51.94 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.007392, allocations: 34.56 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.007393, allocations: 0 / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0004979/0.007891, allocations: 209.1 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.007925, allocations: 51.41 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.744e-05/0.007982, allocations: 102.7 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.007997, allocations: 25.7 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.008023, allocations: 80.14 kB / 0.8426 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.008055, allocations: 23.81 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.008097, allocations: 17.72 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.008192, allocations: 318.8 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.008218, allocations: 8.125 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.008241, allocations: 4 kB / 0.8429 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.6e-05/0.008297, allocations: 24.83 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.008298, allocations: 0 / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001006/0.008399, allocations: 57.62 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.00841, allocations: 4 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.008414, allocations: 0 / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.008428, allocations: 0 / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.00852, allocations: 15.98 kB / 0.843 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.008524, allocations: 4 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.008574, allocations: 19.86 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.008582, allocations: 0 / 0.843 GB, free: 9.449 MB / 0.8073 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 6.841e-05/0.00865, allocations: 109.8 kB / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.008669, allocations: 7.984 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.008818, allocations: 77.66 kB / 0.8432 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.008819, allocations: 0 / 0.8432 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.008822, allocations: 4 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.008827, allocations: 3.938 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.222e-05/0.008919, allocations: 65.91 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00892, allocations: 0 / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.009008, allocations: 15.98 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00901, allocations: 4 kB / 0.8433 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.009022, allocations: 7.984 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009023, allocations: 0 / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.009023, allocations: 0 / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.009188, allocations: 108.9 kB / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.00922, allocations: 0 / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.009242, allocations: 7.984 kB / 0.8434 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.009295, allocations: 4 kB / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.009318, allocations: 3.984 kB / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.009328, allocations: 12.03 kB / 0.8434 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.114e-05/0.009339, allocations: 4.859 kB / 0.8435 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.009339, allocations: 0 / 0.8435 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000223/0.009562, allocations: 31.86 kB / 0.8435 GB, free: 8.934 MB / 0.8073 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.0001579/0.00972, allocations: 108.3 kB / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.009822, allocations: 36.78 kB / 0.8436 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.009824, allocations: 0 / 0.8436 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.009862, allocations: 24.78 kB / 0.8436 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.509e-05/0.009947, allocations: 12.09 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.0103, allocations: 136.7 kB / 0.8438 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.01034, allocations: 55.36 kB / 0.8438 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.862e-05/0.01042, allocations: 12 kB / 0.8438 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.0105, allocations: 63.3 kB / 0.8439 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of SimCode: time 8.41e-07/0.0105, allocations: 4 kB / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of Templates: time 0.003603/0.0141, allocations: 1.345 MB / 0.8452 GB, free: 7.09 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.2576342090032995]