Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009188/0.0009188, 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.00096/0.00096, allocations: 173.4 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.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.393/2.393, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.191e-05, allocations: 5.688 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00219/0.002221, allocations: 0.8072 MB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.004474, allocations: 1.505 MB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.004515, allocations: 0 / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.004549, allocations: 3.938 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.004602, allocations: 3.938 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.005181, allocations: 151.4 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.005283, allocations: 51.89 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.005325, allocations: 7.984 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.005434, allocations: 31.91 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.0055, allocations: 27.95 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.005519, allocations: 4 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.005919, allocations: 251.4 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.005949, allocations: 15.97 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.005976, allocations: 15.94 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.006335, allocations: 219.4 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.006338, allocations: 4 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006339, allocations: 0 / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.006343, allocations: 3.938 kB / 0.8417 GB, free: 11.04 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004934/0.006837, allocations: 300.4 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.006877, allocations: 8.625 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.007191, allocations: 60.88 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.007301, allocations: 109.7 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.007325, allocations: 4.375 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.007357, allocations: 8.375 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.007617, allocations: 150.2 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.007628, allocations: 192 / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.007643, allocations: 4.375 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.007651, allocations: 11.94 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.783e-05/0.007718, allocations: 23.11 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.008123, allocations: 212.1 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.008279, allocations: 54.55 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.008312, allocations: 20.84 kB / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.008326, allocations: 3.938 kB / 0.8426 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.008355, allocations: 42.56 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.008356, allocations: 4 kB / 0.8426 GB, free: 9.941 MB / 0.8073 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.01207/0.02043, allocations: 2.145 MB / 0.8447 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.02046, allocations: 51.41 kB / 0.8448 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.931e-05/0.02053, allocations: 110.7 kB / 0.8449 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.02057, allocations: 29.7 kB / 0.8449 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.02061, allocations: 96.02 kB / 0.845 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.02066, allocations: 43.62 kB / 0.845 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.02077, allocations: 57.58 kB / 0.8451 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.02085, allocations: 318.8 kB / 0.8454 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.02097, allocations: 95.92 kB / 0.8455 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.02109, allocations: 95.88 kB / 0.8456 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.02135, allocations: 228.6 kB / 0.8458 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.02136, allocations: 0 / 0.8458 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003251/0.02168, allocations: 245.5 kB / 0.846 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.0217, allocations: 4 kB / 0.846 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.0217, allocations: 0 / 0.846 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.02171, allocations: 0 / 0.846 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.02205, allocations: 87.75 kB / 0.8461 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.02205, allocations: 4 kB / 0.8461 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.02225, allocations: 31.95 kB / 0.8462 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.02229, allocations: 15.94 kB / 0.8462 GB, free: 6.195 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 (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.0001055/0.02239, allocations: 121.8 kB / 0.8463 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.02245, allocations: 7.984 kB / 0.8463 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.02249, allocations: 12.12 kB / 0.8463 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.02249, allocations: 11.94 kB / 0.8463 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.02249, allocations: 0 / 0.8463 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.0225, allocations: 0 / 0.8463 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.02309, allocations: 470.5 kB / 0.8468 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.02309, allocations: 0 / 0.8468 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.02339, allocations: 79.81 kB / 0.8468 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.02339, allocations: 4 kB / 0.8468 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.02342, allocations: 19.94 kB / 0.8469 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.02342, allocations: 0 / 0.8469 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02342, allocations: 0 / 0.8469 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.02393, allocations: 462.2 kB / 0.8473 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.024, allocations: 23.91 kB / 0.8473 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.02404, allocations: 8 kB / 0.8473 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.02425, allocations: 28 kB / 0.8474 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.02431, allocations: 23.92 kB / 0.8474 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.02434, allocations: 23.92 kB / 0.8474 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.598e-05/0.02436, allocations: 8.859 kB / 0.8474 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02436, allocations: 0 / 0.8474 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002421/0.0246, allocations: 55.94 kB / 0.8475 GB, free: 4.816 MB / 0.8073 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.0001765/0.02477, allocations: 92.34 kB / 0.8476 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.02509, allocations: 244.6 kB / 0.8478 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.02509, allocations: 4 kB / 0.8478 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.02524, allocations: 132.7 kB / 0.8479 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.02542, allocations: 40.8 kB / 0.848 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.02686, allocations: 0.551 MB / 0.8485 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.779e-05/0.02689, allocations: 67.34 kB / 0.8486 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002782/0.02717, allocations: 92.72 kB / 0.8486 GB, free: 3.547 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.02743, allocations: 99.23 kB / 0.8487 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.02743, allocations: 0 / 0.8487 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of Templates: time 0.005043/0.03247, allocations: 3.867 MB / 0.8525 GB, free: 15.58 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.346679742913693]