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.001048/0.001048, allocations: 80.88 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.001089/0.001089, allocations: 181 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.089/1.089, allocations: 177.1 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.409/2.409, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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.222e-06/1.222e-06, allocations: 0 / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.33e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001325/0.001338, allocations: 0.8466 MB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.002822, allocations: 1.505 MB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.00285, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.002877, allocations: 3.938 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.00292, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.003317, allocations: 155.2 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.34e-05/0.00339, allocations: 47.89 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.158e-05/0.003421, allocations: 4 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.439e-05/0.003506, allocations: 35.95 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.003554, allocations: 27.89 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.003567, allocations: 4 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.003849, allocations: 259.4 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.003869, allocations: 15.98 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.00389, allocations: 19.91 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.004118, allocations: 215.4 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.00412, allocations: 4 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00412, allocations: 0 / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.004126, allocations: 4 kB / 0.8417 GB, free: 10.92 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.0003529/0.004479, allocations: 304.3 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.004508, allocations: 8.625 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.004714, allocations: 64.86 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.004791, allocations: 109.7 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.004806, allocations: 4.375 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.004826, allocations: 12.38 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.005, allocations: 146.3 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.005009, allocations: 192 / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.005018, allocations: 4.375 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.005024, allocations: 7.938 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.863e-05/0.005073, allocations: 19.98 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.005368, allocations: 208.1 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.005474, allocations: 58.55 kB / 0.8427 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.005494, allocations: 12.86 kB / 0.8427 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.005506, allocations: 7.938 kB / 0.8427 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.005526, allocations: 38.5 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.005528, allocations: 4 kB / 0.8427 GB, free: 9.824 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.007829/0.01336, allocations: 2.149 MB / 0.8448 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.01338, allocations: 59.34 kB / 0.8449 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/0.01344, allocations: 110.7 kB / 0.845 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.01347, allocations: 29.7 kB / 0.845 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.01351, allocations: 88.09 kB / 0.8451 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.01356, allocations: 43.62 kB / 0.8451 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.01366, allocations: 61.56 kB / 0.8452 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.01374, allocations: 318.8 kB / 0.8455 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.01386, allocations: 95.94 kB / 0.8456 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.01397, allocations: 95.92 kB / 0.8457 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.01424, allocations: 227.4 kB / 0.8459 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01424, allocations: 4 kB / 0.8459 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003207/0.01456, allocations: 245.5 kB / 0.8461 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.01458, allocations: 4 kB / 0.8461 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01458, allocations: 4 kB / 0.8461 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.01459, allocations: 0 / 0.8461 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.01496, allocations: 99.75 kB / 0.8462 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01496, allocations: 4 kB / 0.8462 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.01517, allocations: 31.95 kB / 0.8463 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.0152, allocations: 15.94 kB / 0.8463 GB, free: 6.055 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.0001073/0.01531, allocations: 117.8 kB / 0.8464 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.01537, allocations: 7.984 kB / 0.8464 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.0154, allocations: 16.06 kB / 0.8464 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.0154, allocations: 8 kB / 0.8464 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.0154, allocations: 0 / 0.8464 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01541, allocations: 0 / 0.8464 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/0.016, allocations: 474.4 kB / 0.8469 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.016, allocations: 0 / 0.8469 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.01636, allocations: 99.69 kB / 0.847 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01636, allocations: 8 kB / 0.847 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.01639, allocations: 15.94 kB / 0.847 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01639, allocations: 0 / 0.847 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01639, allocations: 0 / 0.847 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.0169, allocations: 455.2 kB / 0.8474 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.01697, allocations: 19.91 kB / 0.8474 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.01701, allocations: 11.94 kB / 0.8475 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.01724, allocations: 31.98 kB / 0.8475 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.01731, allocations: 23.92 kB / 0.8475 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.01734, allocations: 19.94 kB / 0.8475 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.175e-05/0.01735, allocations: 8.859 kB / 0.8475 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01736, allocations: 0 / 0.8475 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002268/0.01758, allocations: 55.94 kB / 0.8476 GB, free: 4.66 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.0001453/0.01773, allocations: 96.28 kB / 0.8477 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.01806, allocations: 237 kB / 0.8479 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.01807, allocations: 4 kB / 0.8479 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.01823, allocations: 140.6 kB / 0.8481 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.01841, allocations: 39.86 kB / 0.8481 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.01996, allocations: 0.5472 MB / 0.8486 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.02, allocations: 67.34 kB / 0.8487 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003085/0.02031, allocations: 92.67 kB / 0.8488 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.0206, allocations: 99.23 kB / 0.8489 GB, free: 3.293 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.0206, allocations: 0 / 0.8489 GB, free: 3.293 MB / 0.8073 GB Notification: Performance of Templates: time 0.005444/0.02604, allocations: 3.873 MB / 0.8527 GB, free: 15.43 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 -s gbode -gbm=radauIIA3 -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.4308941080234945]